Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Add tests for all the values of wildcard_mention_policy.
sahil83925f32d461e09
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.pyindex 4664f1deafe..07b14b4c10c 100644--- a/zerver/tests/test_events.py+++ b/zerver/tests/test_events.py@@ -1730,7 +1730,7 @@ class RealmPropertyActionTest(BaseAction):invite_to_stream_policy=[3, 2, 1],private_message_policy=[2, 1],user_group_edit_policy=[1, 2],- wildcard_mention_policy=[3, 2, 1],+ wildcard_mention_policy=[6, 5, 4, 3, 2, 1],email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS],bot_creation_policy=[Realm.BOT_CREATION_EVERYONE],video_chat_provider=[diff --git a/zerver/tests/test_realm.py b/zerver/tests/test_realm.pyindex de00aa1d935..f691b8e33d1 100644--- a/zerver/tests/test_realm.py+++ b/zerver/tests/test_realm.py@@ -733,8 +733,11 @@ class RealmAPITest(ZulipTestCase):Realm.POLICY_MEMBERS_ONLY,Realm.POLICY_FULL_MEMBERS_ONLY],wildcard_mention_policy=[Realm.WILDCARD_MENTION_POLICY_EVERYONE,+ Realm.WILDCARD_MENTION_POLICY_MEMBERS,Realm.WILDCARD_MENTION_POLICY_FULL_MEMBERS,- Realm.WILDCARD_MENTION_POLICY_ADMINS],+ Realm.WILDCARD_MENTION_POLICY_STREAM_ADMINS,+ Realm.WILDCARD_MENTION_POLICY_ADMINS,+ Realm.WILDCARD_MENTION_POLICY_NOBODY],bot_creation_policy=[1, 2],email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_EVERYONE,Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS,