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.

test flake: Sort users for scim test.

Steve Howell939032b45f5e
diff --git a/zerver/tests/test_scim.py b/zerver/tests/test_scim.py
index e764d394380..9cc1758e1ab 100644
--- a/zerver/tests/test_scim.py
+++ b/zerver/tests/test_scim.py
@@ -246,6 +246,7 @@ class TestSCIMUser(SCIMTestCase):
)
self.assertEqual(result.status_code, 200)
output_data = orjson.loads(result.content)
+ output_data["Resources"].sort(key=lambda d: d["id"])
user_query = UserProfile.objects.filter(
realm=realm, is_bot=False, delivery_email__endswith="@zulip.com"