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_subs: Fix `test_unarchive_stream` test.

sanchi-t0188e5c2acd0
diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.py
index 05c7ae95555..2be72d0be08 100644
--- a/zerver/tests/test_subs.py
+++ b/zerver/tests/test_subs.py
@@ -1785,13 +1785,13 @@ class StreamAdminTest(ZulipTestCase):
self.assertEqual(stream.history_public_to_subscribers, was_history_public)
self.assertEqual(
- [hamlet.id, cordelia.id],
- [
+ {hamlet.id, cordelia.id},
+ {
sub.user_profile_id
for sub in get_active_subscriptions_for_stream_id(
stream.id, include_deactivated_users=True
)
- ],
+ },
)
def test_vacate_private_stream_removes_default_stream(self) -> None: