Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_import_export: Fix a flaky test due to random reactions added.
Prakhar Pratyush6baf981aa594
diff --git a/zerver/tests/test_import_export.py b/zerver/tests/test_import_export.pyindex 3a5dcaaf8fb..1e154e4318a 100644--- a/zerver/tests/test_import_export.py+++ b/zerver/tests/test_import_export.py@@ -1908,9 +1908,8 @@ class SingleUserExportTest(ExportFile):@checkerdef zerver_reaction(records: List[Record]) -> None:assert reaction- (exported_reaction,) = recordsself.assertEqual(- exported_reaction,+ records[-1],dict(id=reaction.id,user_profile=cordelia.id,