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_events: Fix check_list(None) calls.

Anders Kaseorgf40ad639f868
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py
index 924bc4d8113..47fc88c0ea3 100644
--- a/zerver/tests/test_events.py
+++ b/zerver/tests/test_events.py
@@ -483,7 +483,7 @@ class NormalActionsTest(BaseAction):
# Verify move topic to different stream.
schema_checker = check_events_dict([
('type', equals('update_message')),
- ('flags', check_list(None)),
+ ('flags', check_list(check_string)),
('edit_timestamp', check_int),
('message_id', check_int),
('message_ids', check_list(check_int)),
@@ -493,7 +493,7 @@ class NormalActionsTest(BaseAction):
('new_stream_id', check_int),
('stream_name', check_string),
(TOPIC_NAME, check_string),
- (TOPIC_LINKS, check_list(None)),
+ (TOPIC_LINKS, check_list(check_string)),
('user_id', check_int),
])