mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
test_events: Fix check_list(None) calls.
These were fixed by commitacd439dee8but reintroduced by commit18537b63f5. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -483,7 +483,7 @@ class NormalActionsTest(BaseAction):
|
|||||||
# Verify move topic to different stream.
|
# Verify move topic to different stream.
|
||||||
schema_checker = check_events_dict([
|
schema_checker = check_events_dict([
|
||||||
('type', equals('update_message')),
|
('type', equals('update_message')),
|
||||||
('flags', check_list(None)),
|
('flags', check_list(check_string)),
|
||||||
('edit_timestamp', check_int),
|
('edit_timestamp', check_int),
|
||||||
('message_id', check_int),
|
('message_id', check_int),
|
||||||
('message_ids', check_list(check_int)),
|
('message_ids', check_list(check_int)),
|
||||||
@@ -493,7 +493,7 @@ class NormalActionsTest(BaseAction):
|
|||||||
('new_stream_id', check_int),
|
('new_stream_id', check_int),
|
||||||
('stream_name', check_string),
|
('stream_name', check_string),
|
||||||
(TOPIC_NAME, check_string),
|
(TOPIC_NAME, check_string),
|
||||||
(TOPIC_LINKS, check_list(None)),
|
(TOPIC_LINKS, check_list(check_string)),
|
||||||
('user_id', check_int),
|
('user_id', check_int),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user