Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_subs: Fix stale stream object in archive tests.
Tim Abbott322199efeb35
diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.pyindex 5297527e358..fe1601b431d 100644--- a/zerver/tests/test_subs.py+++ b/zerver/tests/test_subs.py@@ -3362,6 +3362,8 @@ class StreamAdminTest(ZulipTestCase):result = self.client_delete("/json/streams/" + str(stream_id))self.assert_json_success(result)+ stream.refresh_from_db()+# We no longer send subscription events for stream deactivations.sub_events = [e for e in events if e["event"]["type"] == "subscription"]self.assertEqual(sub_events, [])