mirror of https://github.com/zulip/zulip.git
test_realm: Fix incorrect comparison of sort() return values.
Fixes #22105.
This commit is contained in:
parent
54d2215f1b
commit
d4d5cd1daf
|
@ -1032,7 +1032,7 @@ class RealmTest(ZulipTestCase):
|
||||||
UserGroup.EVERYONE_ON_INTERNET_GROUP_NAME,
|
UserGroup.EVERYONE_ON_INTERNET_GROUP_NAME,
|
||||||
UserGroup.NOBODY_GROUP_NAME,
|
UserGroup.NOBODY_GROUP_NAME,
|
||||||
]
|
]
|
||||||
self.assertEqual(user_group_names.sort(), expected_system_group_names.sort())
|
self.assertEqual(sorted(user_group_names), sorted(expected_system_group_names))
|
||||||
|
|
||||||
def test_changing_waiting_period_updates_system_groups(self) -> None:
|
def test_changing_waiting_period_updates_system_groups(self) -> None:
|
||||||
realm = get_realm("zulip")
|
realm = get_realm("zulip")
|
||||||
|
|
Loading…
Reference in New Issue