Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Fix the incomplete exclusion of the notification settings.

Prakhar Pratyush35c3724f229c
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py
index e26f104e4df..aba2ff70c7b 100644
--- a/zerver/tests/test_events.py
+++ b/zerver/tests/test_events.py
@@ -3239,7 +3239,7 @@ class UserDisplayActionTest(BaseAction):
for prop in UserProfile.property_types:
# Notification settings have a separate test suite, which
# handles their separate legacy event type.
- if prop not in UserProfile.notification_settings_legacy:
+ if prop not in UserProfile.notification_setting_types:
self.do_change_user_settings_test(prop)
def test_set_user_timezone(self) -> None: