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:
Shubham Padia
2024-10-22 10:42:14 +00:00
committed by Tim Abbott
parent 9f9d5b2f98
commit 1f0906aef7
6 changed files with 67 additions and 112 deletions

View File

@@ -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: