Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Tweak assertion for streams.
Steve Howell7df86f361453
diff --git a/zerver/tests/test_import_export.py b/zerver/tests/test_import_export.pyindex cb64a5db1bb..e7bf5098670 100644--- a/zerver/tests/test_import_export.py+++ b/zerver/tests/test_import_export.py@@ -1448,8 +1448,8 @@ class SingleUserExportTest(ZulipTestCase):exported_recipient_type_id = self.get_set(user["zerver_recipient"], "type_id")self.assertIn(cordelia.id, exported_recipient_type_id)- exported_stream_id = self.get_set(user["zerver_stream"], "id")- self.assertIn(list(exported_stream_id)[0], exported_recipient_type_id)+ streams = {rec["name"] for rec in user["zerver_stream"]}+ self.assertEqual(streams, {"Verona"})exported_recipient_id = self.get_set(user["zerver_recipient"], "id")exported_subscription_recipient = self.get_set(user["zerver_subscription"], "recipient")