From 1b754f91f66bf0223f79c56afe2fe5d48970e9f7 Mon Sep 17 00:00:00 2001 From: Olivier Coutu Date: Thu, 19 Sep 2024 21:36:13 -0400 Subject: [PATCH] Added test for Unlisted --- modules/question_setter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/question_setter.py b/modules/question_setter.py index 5563945..70b2452 100644 --- a/modules/question_setter.py +++ b/modules/question_setter.py @@ -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`!",