Skip to content

Commit

Permalink
Added test for Unlisted
Browse files Browse the repository at this point in the history
  • Loading branch information
LeMurphant committed Sep 20, 2024
1 parent 2d6c869 commit 1b754f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/question_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,10 @@ def test_cases(self) -> list[IntegrationTest]:
test_message="dup https://docs.google.com/document/d/1vg2kUNaMcQA2lB9zvJTn9npqVS-pkquLeODG7eVOyWE/edit https://docs.google.com/document/d/1KOHkRf1TCwB3x1OSUPOVKvUMvUDZPlOII4Ycrc0Aynk/edit",
expected_regex="Changed status of 2 questions to `Duplicate`",
),
self.create_integration_test(
test_message="@unlisted https://docs.google.com/document/d/1vg2kUNaMcQA2lB9zvJTn9npqVS-pkquLeODG7eVOyWE/edit https://docs.google.com/document/d/1KOHkRf1TCwB3x1OSUPOVKvUMvUDZPlOII4Ycrc0Aynk/edit",
expected_regex="Changed status of 2 questions to `Unlisted`",
),
self.create_integration_test(
test_message="lgtm https://docs.google.com/document/d/1vg2kUNaMcQA2lB9zvJTn9npqVS-pkquLeODG7eVOyWE/edit https://docs.google.com/document/d/1KOHkRf1TCwB3x1OSUPOVKvUMvUDZPlOII4Ycrc0Aynk/edit",
expected_regex="2 more questions `Live on site`!",
Expand Down

0 comments on commit 1b754f9

Please sign in to comment.