mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
groups: Remove list specifying group settings with new API format.
All the groups are now following the new API format, making the list redundant.
This commit is contained in:
committed by
Tim Abbott
parent
9f9d5b2f98
commit
1f0906aef7
@@ -4038,13 +4038,11 @@ class RealmPropertyActionTest(BaseAction):
|
||||
for prop in Realm.REALM_PERMISSION_GROUP_SETTINGS:
|
||||
with self.settings(SEND_DIGEST_EMAILS=True):
|
||||
self.do_set_realm_permission_group_setting_test(prop)
|
||||
|
||||
for prop in Realm.REALM_PERMISSION_GROUP_SETTINGS_WITH_NEW_API_FORMAT:
|
||||
if Realm.REALM_PERMISSION_GROUP_SETTINGS[prop].require_system_group:
|
||||
# Anonymous system groups aren't relevant when
|
||||
# restricted to system groups.
|
||||
continue
|
||||
with self.settings(SEND_DIGEST_EMAILs=True):
|
||||
with self.settings(SEND_DIGEST_EMAILS=True):
|
||||
self.do_set_realm_permission_group_setting_to_anonymous_groups_test(prop)
|
||||
|
||||
def do_set_realm_user_default_setting_test(self, name: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user