instance_id
stringlengths 10
57
| patch
stringlengths 261
37.7k
| repo
stringlengths 7
53
| base_commit
stringlengths 40
40
| hints_text
stringclasses 301
values | test_patch
stringlengths 212
2.22M
| problem_statement
stringlengths 23
37.7k
| version
int64 0
0
| environment_setup_commit
stringclasses 89
values | FAIL_TO_PASS
sequencelengths 1
4.94k
| PASS_TO_PASS
sequencelengths 0
7.82k
| meta
dict | created_at
unknown | license
stringclasses 8
values |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
zulip__zulip-terminal-1385 | diff --git a/zulipterminal/helper.py b/zulipterminal/helper.py
index c9817fc..12f402b 100644
--- a/zulipterminal/helper.py
+++ b/zulipterminal/helper.py
@@ -535,9 +535,20 @@ def match_emoji(emoji: str, text: str) -> bool:
def match_topics(topic_names: List[str], search_text: str) -> List[str]:
- return [
- name for name in topic_names if name.lower().startswith(search_text.lower())
- ]
+ matching_topics = []
+ delimiters = "-_/"
+ trans = str.maketrans(delimiters, len(delimiters) * " ")
+ for full_topic_name in topic_names:
+ # "abc def-gh" --> ["abc def gh", "def", "gh"]
+ words_to_be_matched = [full_topic_name] + full_topic_name.translate(
+ trans
+ ).split()[1:]
+
+ for word in words_to_be_matched:
+ if word.lower().startswith(search_text.lower()):
+ matching_topics.append(full_topic_name)
+ break
+ return matching_topics
DataT = TypeVar("DataT")
| zulip/zulip-terminal | f420528f13ce37b4dc5b5939b10f9f11d1a39c10 | diff --git a/tests/conftest.py b/tests/conftest.py
index 07e8313..ffafd35 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -587,7 +587,14 @@ def message_history(request: Any) -> List[Dict[str, Any]]:
@pytest.fixture
def topics() -> List[str]:
- return ["Topic 1", "This is a topic", "Hello there!"]
+ return [
+ "Topic 1",
+ "This is a topic",
+ "Hello there!",
+ "He-llo there!",
+ "Hello t/here!",
+ "Hello from out-er_space!",
+ ]
@pytest.fixture(
diff --git a/tests/ui_tools/test_boxes.py b/tests/ui_tools/test_boxes.py
index d9fb8b1..975b14c 100644
--- a/tests/ui_tools/test_boxes.py
+++ b/tests/ui_tools/test_boxes.py
@@ -96,22 +96,39 @@ class TestWriteBox:
[
("#**Stream 1>T", 0, True, "#**Stream 1>Topic 1**"),
("#**Stream 1>T", 1, True, "#**Stream 1>This is a topic**"),
- ("#**Stream 1>T", 2, True, None),
- ("#**Stream 1>T", -1, True, "#**Stream 1>This is a topic**"),
- ("#**Stream 1>T", -2, True, "#**Stream 1>Topic 1**"),
- ("#**Stream 1>T", -3, True, None),
+ ("#**Stream 1>T", 2, True, "#**Stream 1>Hello there!**"),
+ ("#**Stream 1>T", 3, True, "#**Stream 1>He-llo there!**"),
+ ("#**Stream 1>T", 4, True, "#**Stream 1>Hello t/here!**"),
+ ("#**Stream 1>T", 5, True, None),
+ ("#**Stream 1>T", -1, True, "#**Stream 1>Hello t/here!**"),
+ ("#**Stream 1>T", -2, True, "#**Stream 1>He-llo there!**"),
+ ("#**Stream 1>T", -3, True, "#**Stream 1>Hello there!**"),
+ ("#**Stream 1>T", -4, True, "#**Stream 1>This is a topic**"),
+ ("#**Stream 1>T", -5, True, "#**Stream 1>Topic 1**"),
+ ("#**Stream 1>T", -6, True, None),
("#**Stream 1>To", 0, True, "#**Stream 1>Topic 1**"),
("#**Stream 1>H", 0, True, "#**Stream 1>Hello there!**"),
("#**Stream 1>Hello ", 0, True, "#**Stream 1>Hello there!**"),
("#**Stream 1>", 0, True, "#**Stream 1>Topic 1**"),
("#**Stream 1>", 1, True, "#**Stream 1>This is a topic**"),
- ("#**Stream 1>", -1, True, "#**Stream 1>Hello there!**"),
- ("#**Stream 1>", -2, True, "#**Stream 1>This is a topic**"),
+ ("#**Stream 1>", 2, True, "#**Stream 1>Hello there!**"),
+ ("#**Stream 1>", 3, True, "#**Stream 1>He-llo there!**"),
+ ("#**Stream 1>", 4, True, "#**Stream 1>Hello t/here!**"),
+ ("#**Stream 1>", 5, True, "#**Stream 1>Hello from out-er_space!**"),
+ ("#**Stream 1>", 6, True, None),
+ ("#**Stream 1>", -1, True, "#**Stream 1>Hello from out-er_space!**"),
+ ("#**Stream 1>", -2, True, "#**Stream 1>Hello t/here!**"),
+ ("#**Stream 1>", -3, True, "#**Stream 1>He-llo there!**"),
+ ("#**Stream 1>", -4, True, "#**Stream 1>Hello there!**"),
+ ("#**Stream 1>", -5, True, "#**Stream 1>This is a topic**"),
+ ("#**Stream 1>", -6, True, "#**Stream 1>Topic 1**"),
+ ("#**Stream 1>", -7, True, None),
# Fenced prefix
("#**Stream 1**>T", 0, True, "#**Stream 1>Topic 1**"),
# Unfenced prefix
("#Stream 1>T", 0, True, "#**Stream 1>Topic 1**"),
("#Stream 1>T", 1, True, "#**Stream 1>This is a topic**"),
+ ("#Stream 1>T", 2, True, "#**Stream 1>Hello there!**"),
# Invalid stream
("#**invalid stream>", 0, False, None),
("#**invalid stream**>", 0, False, None),
@@ -1306,12 +1323,30 @@ class TestWriteBox:
@pytest.mark.parametrize(
"text, matching_topics",
[
- ("", ["Topic 1", "This is a topic", "Hello there!"]),
- ("Th", ["This is a topic"]),
+ (
+ "",
+ [
+ "Topic 1",
+ "This is a topic",
+ "Hello there!",
+ "He-llo there!",
+ "Hello t/here!",
+ "Hello from out-er_space!",
+ ],
+ ),
+ ("Th", ["This is a topic", "Hello there!", "He-llo there!"]),
+ ("ll", ["He-llo there!"]),
+ ("her", ["Hello t/here!"]),
+ ("er", ["Hello from out-er_space!"]),
+ ("spa", ["Hello from out-er_space!"]),
],
ids=[
"no_search_text",
"single_word_search_text",
+ "split_in_first_word",
+ "split_in_second_word",
+ "first_split_in_third_word",
+ "second_split_in_third_word",
],
)
def test__topic_box_autocomplete(
| Support multi-word matching when autocompleting topics
When autocompleting other items such as streams, we check the search term against different 'words' in the possible matches. For example, `doc` can match both `documentation` and `api documentation`, `cod` can match `code review` and `live coding`, and `term` can match both `terminal clients` and `zulip-terminal`.
For topics, we do not do so, so that `PR ` only matches topics starting with exactly those characters, not any later 'word'. You should be able to confirm this on chat.zulip.org using zulip terminal.
We should extend the current topic autocompletion logic to behave similarly to that for streams, to handle these kinds of cases - likely with the same ordering as with streams, though that may need confirming since there could be a *lot* of topics compared to streams, and we currently only show up to 10 matches. The web app logic may be useful for comparison.
The UI logic for this is in `boxes.py`, so that's a good place to start. The logic is likely common between the topic searches, but extra test cases to ensure this is working would be important. However, if the matching logic can be completely unified with topics then we may be able to remove some tests later. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[split_in_first_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[split_in_second_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[first_split_in_third_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[second_split_in_third_word]"
] | [
"tests/ui_tools/test_boxes.py::TestWriteBox::test_init",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_without_recipients",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#**invalid",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#invalid",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#*Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[(#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[&#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[@#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[@_#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[:#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_to_oneself[pm_only_with_oneself]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_to_oneself[group_pm]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_send_private_message_without_recipients[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_send_private_message_without_recipients[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__compose_attributes_reset_for_private_compose[esc]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__compose_attributes_reset_for_stream_compose[esc]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_with_improper_formatting]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_with_extra_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_first_recipient_out_of_two]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_second_recipient_out_of_two]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-two_untidy_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-three_untidy_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_middle_recipient_out_of_three]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-name_email_mismatch]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-no_name_specified]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-no_email_specified]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_update_recipients[single_recipient]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_update_recipients[multiple_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_no_prefix[Plain",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@-0-footer_text0]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@*-0-footer_text1]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@**-0-footer_text2]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@Human-0-footer_text3]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@**Human-0-footer_text4]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_Human-0-footer_text5]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_*Human-None-footer_text6]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_**Human-0-footer_text7]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@Human-None-footer_text8]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@NoMatch-None-footer_text9]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#Stream-0-footer_text10]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#*Stream-None-footer_text11]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#**Stream-0-footer_text12]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#Stream-None-footer_text13]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#NoMatch-None-footer_text14]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:smi-0-footer_text15]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:smi-None-footer_text16]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:NoMatch-None-footer_text17]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--5-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-0-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-2-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-3-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-4-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@H-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Hu-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Hum-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Huma-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_H-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Hu-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Hum-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Huma-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Group-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Group-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@G-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gr-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gro-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Grou-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@G-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gr-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gro-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Grou-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-5-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-6-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-7-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-8-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-9-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-10-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-2-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-3-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-4-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-0-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-2-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-3-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-4-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_--1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[(@H-0-(@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[(@H-1-(@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[-@G-0--@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[-@G-1--@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[_@H-0-_@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[_@G-0-_@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@H-0-@@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[:@H-0-:@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[#@H-0-#@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_@H-0-@_@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[>@_H-0->@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[>@_H-1->@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_@_H-0-@_@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_H-0-@@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[:@_H-0-:@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[#@_H-0-#@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_*H-0-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_**H-0-@@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@--1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@H-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Hu-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Hum-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Huma-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Human-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**H-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Hu-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Hum-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Huma-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Human-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_H-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Hu-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Hum-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Huma-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Human-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead0-stream_categories0]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#S-state_and_required_typeahead1-stream_categories1]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#So-state_and_required_typeahead2-stream_categories2]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Se-state_and_required_typeahead3-stream_categories3]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#St-state_and_required_typeahead4-stream_categories4]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#g-state_and_required_typeahead5-stream_categories5]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#nomatch-state_and_required_typeahead7-stream_categories7]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#ene-state_and_required_typeahead8-stream_categories8]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[[#Stream-state_and_required_typeahead9-stream_categories9]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[(#Stream-state_and_required_typeahead10-stream_categories10]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[@#Stream-state_and_required_typeahead11-stream_categories11]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[@_#Stream-state_and_required_typeahead12-stream_categories12]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[:#Stream-state_and_required_typeahead13-stream_categories13]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##Stream-state_and_required_typeahead14-stream_categories14]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##*Stream-state_and_required_typeahead15-stream_categories15]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##**Stream-state_and_required_typeahead16-stream_categories16]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead17-stream_categories17]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead18-stream_categories18]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead19-stream_categories19]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead20-stream_categories20]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead21-stream_categories21]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead22-stream_categories22]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead23-stream_categories23]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#S-state_and_required_typeahead24-stream_categories24]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead25-stream_categories25]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o-0-:rock_on:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o-1-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o--1-:rock_on:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o--2-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-0-:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-1-:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-2-:smirk:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jo-0-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jo-1-:joy_cat:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jok-0-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:-0-:happy:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:-1-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:--3-:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:--2-:smirk:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:nomatch-0-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:nomatch--1-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[(:smi-0-(:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[&:smi-1-&:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[@:smi-0-@:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[@_:smi-0-@_:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[#:smi-0-#:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_spaces[Hu-Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_spaces[Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[name_search_text_with_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[email_search_text_with_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[name_search_text_without_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[email_search_text_without_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[no_search_text_with_pinned_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[single_word_search_text_with_pinned_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[web_public_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[private_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[public_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[invalid_stream_name]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete_with_spaces[Som-Some",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete_with_spaces[Some",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete_with_spaces[Th-This",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete_with_spaces[This",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[fewer_than_10_typeaheads]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[more_than_10_typeaheads]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-greater_than_possible_index]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-less_than_possible_index]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_SEND_MESSAGE_no_topic[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_SEND_MESSAGE_no_topic[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[esc-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[space-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[k-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-stream_name_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_edit_only-topic_to_edit_mode_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_edit_only-edit_mode_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-message_to_stream_name_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-stream_name_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-topic_to_edit_mode_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-edit_mode_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-message_to_stream_name_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-recipient_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-message_to_recipient_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_MARKDOWN_HELP[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[private_message]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[stream_message]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[stream_edit_message]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_init",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_reset_search_text",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_urwid_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_unicode_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_unicode_em_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-allow_entry_of_x]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-allow_entry_of_delta]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_entry_of_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[text-allow_entry_of_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[text-disallow_urwid_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_ENTER[enter-log0-False]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_ENTER[enter-log1-True]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_GO_BACK[esc]"
] | {
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true
} | "2023-04-21T18:34:19Z" | apache-2.0 |
|
zulip__zulip-terminal-1404 | diff --git a/docs/hotkeys.md b/docs/hotkeys.md
index db49720..c9677e8 100644
--- a/docs/hotkeys.md
+++ b/docs/hotkeys.md
@@ -58,6 +58,7 @@
|Add/remove thumbs-up reaction to the current message|<kbd>+</kbd>|
|Add/remove star status of the current message|<kbd>ctrl</kbd> + <kbd>s</kbd> / <kbd>*</kbd>|
|Show/hide message information|<kbd>i</kbd>|
+|Show/hide message sender information|<kbd>u</kbd>|
|Show/hide edit history (from message information)|<kbd>e</kbd>|
|View current message in browser (from message information)|<kbd>v</kbd>|
|Show/hide full rendered message (from message information)|<kbd>f</kbd>|
diff --git a/zulipterminal/config/keys.py b/zulipterminal/config/keys.py
index 453b319..27c9f35 100644
--- a/zulipterminal/config/keys.py
+++ b/zulipterminal/config/keys.py
@@ -264,6 +264,11 @@ KEY_BINDINGS: Dict[str, KeyBinding] = {
'help_text': 'Show/hide message information',
'key_category': 'msg_actions',
},
+ 'MSG_SENDER_INFO': {
+ 'keys': ['u'],
+ 'help_text': 'Show/hide message sender information',
+ 'key_category': 'msg_actions',
+ },
'EDIT_HISTORY': {
'keys': ['e'],
'help_text': 'Show/hide edit history (from message information)',
diff --git a/zulipterminal/core.py b/zulipterminal/core.py
index 572efd1..b72b1f8 100644
--- a/zulipterminal/core.py
+++ b/zulipterminal/core.py
@@ -314,7 +314,20 @@ class Controller:
def show_user_info(self, user_id: int) -> None:
self.show_pop_up(
- UserInfoView(self, user_id, "User Information (up/down scrolls)"),
+ UserInfoView(
+ self, user_id, "User Information (up/down scrolls)", "USER_INFO"
+ ),
+ "area:user",
+ )
+
+ def show_msg_sender_info(self, user_id: int) -> None:
+ self.show_pop_up(
+ UserInfoView(
+ self,
+ user_id,
+ "Message Sender Information (up/down scrolls)",
+ "MSG_SENDER_INFO",
+ ),
"area:user",
)
diff --git a/zulipterminal/ui_tools/messages.py b/zulipterminal/ui_tools/messages.py
index 021f435..fa35985 100644
--- a/zulipterminal/ui_tools/messages.py
+++ b/zulipterminal/ui_tools/messages.py
@@ -1110,4 +1110,6 @@ class MessageBox(urwid.Pile):
)
elif is_command_key("ADD_REACTION", key):
self.model.controller.show_emoji_picker(self.message)
+ elif is_command_key("MSG_SENDER_INFO", key):
+ self.model.controller.show_msg_sender_info(self.message["sender_id"])
return key
diff --git a/zulipterminal/ui_tools/views.py b/zulipterminal/ui_tools/views.py
index e27500a..4f63396 100644
--- a/zulipterminal/ui_tools/views.py
+++ b/zulipterminal/ui_tools/views.py
@@ -1083,7 +1083,7 @@ class AboutView(PopUpView):
class UserInfoView(PopUpView):
- def __init__(self, controller: Any, user_id: int, title: str) -> None:
+ def __init__(self, controller: Any, user_id: int, title: str, command: str) -> None:
display_data = self._fetch_user_data(controller, user_id)
user_details = [
@@ -1096,7 +1096,7 @@ class UserInfoView(PopUpView):
)
widgets = self.make_table_with_categories(user_view_content, column_widths)
- super().__init__(controller, widgets, "USER_INFO", popup_width, title)
+ super().__init__(controller, widgets, command, popup_width, title)
@staticmethod
def _fetch_user_data(controller: Any, user_id: int) -> Dict[str, Any]:
| zulip/zulip-terminal | 5d34ef0484c867167758404087909b7f262f220f | diff --git a/tests/ui_tools/test_popups.py b/tests/ui_tools/test_popups.py
index 3205a13..194888b 100644
--- a/tests/ui_tools/test_popups.py
+++ b/tests/ui_tools/test_popups.py
@@ -272,7 +272,7 @@ class TestUserInfoView:
)
self.user_info_view = UserInfoView(
- self.controller, 10000, "User Info (up/down scrolls)"
+ self.controller, 10000, "User Info (up/down scrolls)", "USER_INFO"
)
@pytest.mark.parametrize(
| Show user popup for sender of message on `u` hotkey
This would match the behavior in the web app.
Look for the way in which this popup is opened from the user list, and apply the same approach but using the sender of message (only if one is selected).
Note that this is not `U`, which will be a key we use for marking unread, assuming we keep the same shortcut as in the web app. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_email]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_empty_email]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_date_joined]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_empty_date_joined]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_timezone]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_empty_timezone]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_bot_owner]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_empty_bot_owner]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_last_active]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_empty_last_active]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_generic_bot]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_incoming_webhook_bot]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_outgoing_webhook_bot]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_embedded_bot]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_owner]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_admin]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_moderator]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_guest]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data[user_is_member]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test__fetch_user_data_USER_NOT_FOUND",
"tests/ui_tools/test_popups.py::TestUserInfoView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test_keypress_exit_popup[i]",
"tests/ui_tools/test_popups.py::TestUserInfoView::test_keypress_exit_popup_invalid_key"
] | [
"tests/ui_tools/test_popups.py::TestPopUpConfirmationView::test_init",
"tests/ui_tools/test_popups.py::TestPopUpConfirmationView::test_exit_popup_yes",
"tests/ui_tools/test_popups.py::TestPopUpConfirmationView::test_exit_popup_no",
"tests/ui_tools/test_popups.py::TestPopUpConfirmationView::test_exit_popup_GO_BACK[esc]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_init",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_GO_BACK[esc]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_command_key",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:u]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:k]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:d]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:j]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:l0]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:h]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:r]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:l1]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:p0]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:K]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:p1]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:J]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:e]",
"tests/ui_tools/test_popups.py::TestPopUpView::test_keypress_navigation[nav-key:G]",
"tests/ui_tools/test_popups.py::TestAboutView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestAboutView::test_keypress_exit_popup[meta",
"tests/ui_tools/test_popups.py::TestAboutView::test_keypress_exit_popup_invalid_key",
"tests/ui_tools/test_popups.py::TestAboutView::test_feature_level_content[server_version:2.1-server_feature_level:None]",
"tests/ui_tools/test_popups.py::TestAboutView::test_feature_level_content[server_version:3.0-server_feature_level:25]",
"tests/ui_tools/test_popups.py::TestFullRenderedMsgView::test_init",
"tests/ui_tools/test_popups.py::TestFullRenderedMsgView::test_keypress_exit_popup[i]",
"tests/ui_tools/test_popups.py::TestFullRenderedMsgView::test_keypress_exit_popup_invalid_key",
"tests/ui_tools/test_popups.py::TestFullRenderedMsgView::test_keypress_show_msg_info[esc]",
"tests/ui_tools/test_popups.py::TestFullRenderedMsgView::test_keypress_show_msg_info[f]",
"tests/ui_tools/test_popups.py::TestFullRawMsgView::test_init",
"tests/ui_tools/test_popups.py::TestFullRawMsgView::test_keypress_exit_popup[i]",
"tests/ui_tools/test_popups.py::TestFullRawMsgView::test_keypress_exit_popup_invalid_key",
"tests/ui_tools/test_popups.py::TestFullRawMsgView::test_keypress_show_msg_info[esc]",
"tests/ui_tools/test_popups.py::TestFullRawMsgView::test_keypress_show_msg_info[r]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test_init",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test_keypress_exit_popup[i]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test_keypress_exit_popup_invalid_key",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test_keypress_show_msg_info[esc]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test_keypress_show_msg_info[e]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__make_edit_block[with_user_id-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__make_edit_block[without_user_id-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[posted-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[content_&_topic_edited-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[content_edited-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[topic_edited-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[false_alarm_content_&_topic-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[content_edited_with_false_alarm_topic-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditHistoryView::test__get_author_prefix[topic_edited_with_false_alarm_content-snapshot0]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_init[change_one]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_init[change_later]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_init[change_all]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_one-enter-1-change_later]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_one-enter-2-change_all]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_later-enter-0-change_one]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_later-enter-2-change_all]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_all-enter-0-change_one]",
"tests/ui_tools/test_popups.py::TestEditModeView::test_select_edit_mode[change_all-enter-1-change_later]",
"tests/ui_tools/test_popups.py::TestMarkdownHelpView::test_keypress_any_key",
"tests/ui_tools/test_popups.py::TestMarkdownHelpView::test_keypress_exit_popup[meta",
"tests/ui_tools/test_popups.py::TestMarkdownHelpView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestHelpView::test_keypress_any_key",
"tests/ui_tools/test_popups.py::TestHelpView::test_keypress_exit_popup[?]",
"tests/ui_tools/test_popups.py::TestHelpView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_init[stream_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_init[pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_init[group_pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_pop_up_info_order[stream_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_pop_up_info_order[pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_pop_up_info_order[group_pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_any_key[stream_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_any_key[pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_any_key[group_pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-stream_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-stream_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-group_pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[stream_message-group_pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-stream_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-stream_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-group_pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[pm_message-group_pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-stream_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-stream_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-group_pm_message_id-True-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_edit_history[group_pm_message-group_pm_message_id-False-e]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_rendered_message[stream_message-f]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_rendered_message[pm_message-f]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_rendered_message[group_pm_message-f]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_raw_message[stream_message-r]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_raw_message[pm_message-r]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_full_raw_message[group_pm_message-r]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[stream_message-esc]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[stream_message-i]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[pm_message-esc]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[pm_message-i]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[group_pm_message-esc]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_exit_popup[group_pm_message-i]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_view_in_browser[stream_message-v]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_view_in_browser[pm_message-v]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_keypress_view_in_browser[group_pm_message-v]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_noreactions[stream_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_noreactions[pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_noreactions[group_pm_message]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_reactions[stream_message-to_vary_in_each_message0]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_reactions[pm_message-to_vary_in_each_message0]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_height_reactions[group_pm_message-to_vary_in_each_message0]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[stream_message-link_with_link_text]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[stream_message-link_without_link_text]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[pm_message-link_with_link_text]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[pm_message-link_without_link_text]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[group_pm_message-link_with_link_text]",
"tests/ui_tools/test_popups.py::TestMsgInfoView::test_create_link_buttons[group_pm_message-link_without_link_text]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_keypress_any_key",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_keypress_stream_members[m]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL=None_no_date_created__no_retention_days__admins_only]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL=None_no_date_created__no_retention_days__anyone_can_type]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL<30_no_date_created__ZFL<17_no_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL<30_no_date_created__ZFL=17_custom_finite_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL<30_no_date_created__ZFL>17_default_indefinite_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL=30_with_date_created__ZFL>17_custom_finite_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL>30_with_date_created__ZFL>17_default_finite_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_popup_height[ZFL>30_new_stream_with_date_created__ZFL>17_finite_retention_days]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_keypress_copy_stream_email[c]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_markup_description[<p>Simple</p>-expected_markup0]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_markup_description[<p>A",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_footlinks[message_links0-1:",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_keypress_exit_popup[i]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_mute_stream[enter]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_mute_stream[",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_pin_stream[enter]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_pin_stream[",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_visual_notification[enter]",
"tests/ui_tools/test_popups.py::TestStreamInfoView::test_checkbox_toggle_visual_notification[",
"tests/ui_tools/test_popups.py::TestStreamMembersView::test_keypress_exit_popup[m]",
"tests/ui_tools/test_popups.py::TestStreamMembersView::test_keypress_exit_popup[esc]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[stream_message-e-assert_list0-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[stream_message-sm-assert_list1-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[stream_message-ang-assert_list2-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[stream_message-abc-assert_list3-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[stream_message-q-assert_list4-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[pm_message-e-assert_list0-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[pm_message-sm-assert_list1-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[pm_message-ang-assert_list2-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[pm_message-abc-assert_list3-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[pm_message-q-assert_list4-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[group_pm_message-e-assert_list0-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[group_pm_message-sm-assert_list1-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[group_pm_message-ang-assert_list2-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[group_pm_message-abc-assert_list3-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_update_emoji_list[group_pm_message-q-assert_list4-emoji_units0]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_mouse_event[stream_message-mouse",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_mouse_event[pm_message-mouse",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_mouse_event[group_pm_message-mouse",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_search_emoji[stream_message-p]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_search_emoji[pm_message-p]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_search_emoji[group_pm_message-p]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[stream_message-:]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[stream_message-esc]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[pm_message-:]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[pm_message-esc]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[group_pm_message-:]",
"tests/ui_tools/test_popups.py::TestEmojiPickerView::test_keypress_exit_called[group_pm_message-esc]"
] | {
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-05-24T00:38:51Z" | apache-2.0 |
|
zulip__zulip-terminal-1424 | diff --git a/zulipterminal/ui_tools/buttons.py b/zulipterminal/ui_tools/buttons.py
index fe21169..3fd8b97 100644
--- a/zulipterminal/ui_tools/buttons.py
+++ b/zulipterminal/ui_tools/buttons.py
@@ -493,12 +493,17 @@ class MessageLinkButton(urwid.Button):
"""
# NOTE: The optional stream_id link version is deprecated. The extended
# support is for old messages.
+ # NOTE: Support for narrow links with subject instead of topic is also added
# We expect the fragment to be one of the following types:
# a. narrow/stream/[{stream_id}-]{stream-name}
# b. narrow/stream/[{stream_id}-]{stream-name}/near/{message_id}
# c. narrow/stream/[{stream_id}-]{stream-name}/topic/
# {encoded.20topic.20name}
- # d. narrow/stream/[{stream_id}-]{stream-name}/topic/
+ # d. narrow/stream/[{stream_id}-]{stream-name}/subject/
+ # {encoded.20topic.20name}
+ # e. narrow/stream/[{stream_id}-]{stream-name}/topic/
+ # {encoded.20topic.20name}/near/{message_id}
+ # f. narrow/stream/[{stream_id}-]{stream-name}/subject/
# {encoded.20topic.20name}/near/{message_id}
fragments = urlparse(link.rstrip("/")).fragment.split("/")
len_fragments = len(fragments)
@@ -509,7 +514,9 @@ class MessageLinkButton(urwid.Button):
parsed_link = dict(narrow="stream", stream=stream_data)
elif (
- len_fragments == 5 and fragments[1] == "stream" and fragments[3] == "topic"
+ len_fragments == 5
+ and fragments[1] == "stream"
+ and (fragments[3] == "topic" or fragments[3] == "subject")
):
stream_data = cls._decode_stream_data(fragments[2])
topic_name = hash_util_decode(fragments[4])
@@ -527,7 +534,7 @@ class MessageLinkButton(urwid.Button):
elif (
len_fragments == 7
and fragments[1] == "stream"
- and fragments[3] == "topic"
+ and (fragments[3] == "topic" or fragments[3] == "subject")
and fragments[5] == "near"
):
stream_data = cls._decode_stream_data(fragments[2])
| zulip/zulip-terminal | b11ea7b3d0efb2c11537436083bb353688aa156b | diff --git a/tests/ui_tools/test_buttons.py b/tests/ui_tools/test_buttons.py
index b29e88a..3705bba 100644
--- a/tests/ui_tools/test_buttons.py
+++ b/tests/ui_tools/test_buttons.py
@@ -653,70 +653,109 @@ class TestMessageLinkButton:
@pytest.mark.parametrize(
"link, expected_parsed_link",
[
- (
- SERVER_URL + "/#narrow/stream/1-Stream-1",
+ case(
+ "/#narrow/stream/1-Stream-1",
ParsedNarrowLink(
narrow="stream", stream=DecodedStream(stream_id=1, stream_name=None)
),
+ id="modern_stream_narrow_link",
),
- (
- SERVER_URL + "/#narrow/stream/Stream.201",
+ case(
+ "/#narrow/stream/Stream.201",
ParsedNarrowLink(
narrow="stream",
stream=DecodedStream(stream_id=None, stream_name="Stream 1"),
),
+ id="deprecated_stream_narrow_link",
),
- (
- SERVER_URL + "/#narrow/stream/1-Stream-1/topic/foo.20bar",
+ case(
+ "/#narrow/stream/1-Stream-1/topic/foo.20bar",
ParsedNarrowLink(
narrow="stream:topic",
topic_name="foo bar",
stream=DecodedStream(stream_id=1, stream_name=None),
),
+ id="topic_narrow_link",
),
- (
- SERVER_URL + "/#narrow/stream/1-Stream-1/near/1",
+ case(
+ "/#narrow/stream/1-Stream-1/subject/foo.20bar",
+ ParsedNarrowLink(
+ narrow="stream:topic",
+ topic_name="foo bar",
+ stream=DecodedStream(stream_id=1, stream_name=None),
+ ),
+ id="subject_narrow_link",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1/near/987",
ParsedNarrowLink(
narrow="stream:near",
- message_id=1,
+ message_id=987,
stream=DecodedStream(stream_id=1, stream_name=None),
),
+ id="stream_near_narrow_link",
),
- (
- SERVER_URL + "/#narrow/stream/1-Stream-1/topic/foo/near/1",
+ case(
+ "/#narrow/stream/1-Stream-1/topic/foo/near/789",
ParsedNarrowLink(
narrow="stream:topic:near",
topic_name="foo",
- message_id=1,
+ message_id=789,
stream=DecodedStream(stream_id=1, stream_name=None),
),
+ id="topic_near_narrow_link",
),
- (SERVER_URL + "/#narrow/foo", ParsedNarrowLink()),
- (SERVER_URL + "/#narrow/stream/", ParsedNarrowLink()),
- (SERVER_URL + "/#narrow/stream/1-Stream-1/topic/", ParsedNarrowLink()),
- (SERVER_URL + "/#narrow/stream/1-Stream-1//near/", ParsedNarrowLink()),
- (
- SERVER_URL + "/#narrow/stream/1-Stream-1/topic/foo/near/",
+ case(
+ "/#narrow/stream/1-Stream-1/subject/foo/near/654",
+ ParsedNarrowLink(
+ narrow="stream:topic:near",
+ topic_name="foo",
+ message_id=654,
+ stream=DecodedStream(stream_id=1, stream_name=None),
+ ),
+ id="subject_near_narrow_link",
+ ),
+ case(
+ "/#narrow/foo",
ParsedNarrowLink(),
+ id="invalid_narrow_link_1",
+ ),
+ case(
+ "/#narrow/stream/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_2",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1/topic/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_3",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1/subject/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_4",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1//near/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_5",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1/topic/foo/near/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_6",
+ ),
+ case(
+ "/#narrow/stream/1-Stream-1/subject/foo/near/",
+ ParsedNarrowLink(),
+ id="invalid_narrow_link_7",
),
- ],
- ids=[
- "modern_stream_narrow_link",
- "deprecated_stream_narrow_link",
- "topic_narrow_link",
- "stream_near_narrow_link",
- "topic_near_narrow_link",
- "invalid_narrow_link_1",
- "invalid_narrow_link_2",
- "invalid_narrow_link_3",
- "invalid_narrow_link_4",
- "invalid_narrow_link_5",
],
)
def test__parse_narrow_link(
self, link: str, expected_parsed_link: ParsedNarrowLink
) -> None:
- return_value = MessageLinkButton._parse_narrow_link(link)
+ return_value = MessageLinkButton._parse_narrow_link(SERVER_URL + link)
assert return_value == expected_parsed_link
| Support old format for narrow links (subject in addition to topic)
As documented in buttons.py (currently `_parse_narrow_link`), we support links formatted in the form:
```
... narrow/stream/[{stream-id}-]{stream-name}/topic/{encoded.20.topic.20name}[/near/{message_id}]
```
As I noted in [**#api documentation > Narrow URL formats**](https://chat.zulip.org/#narrow/stream/412-api-documentation/topic/Narrow.20URL.20formats) this doesn't handle an old format where `subject` was used in place of `topic`, which makes the URL in the quoted message fail to be identified and link properly in ZT.
Servers running newer versions of Zulip will not generate links of this format, which limits the impact of this issue, but equally anyone who has upgraded an older server will potentially still have messages with links of this form. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[subject_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[subject_near_narrow_link]"
] | [
"tests/ui_tools/test_buttons.py::TestTopButton::test_init",
"tests/ui_tools/test_buttons.py::TestTopButton::test_style_properties",
"tests/ui_tools/test_buttons.py::TestTopButton::test_text_properties",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_count[11-11]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_count[1-1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_count[10-10]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_count[0-]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup0-expected_suffix_markup0-label_markup0-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup0-expected_suffix_markup0-label_markup0-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup0-expected_suffix_markup0-label_markup1-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup0-expected_suffix_markup0-label_markup1-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup1-expected_suffix_markup1-label_markup0-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup1-expected_suffix_markup1-label_markup0-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup1-expected_suffix_markup1-label_markup1-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup1-expected_suffix_markup1-label_markup1-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup2-expected_suffix_markup2-label_markup0-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup2-expected_suffix_markup2-label_markup0-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup2-expected_suffix_markup2-label_markup1-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup2-expected_suffix_markup2-label_markup1-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup3-expected_suffix_markup3-label_markup0-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup3-expected_suffix_markup3-label_markup0-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup3-expected_suffix_markup3-label_markup1-prefix_markup0-expected_prefix_markup0]",
"tests/ui_tools/test_buttons.py::TestTopButton::test_update_widget[suffix_markup3-expected_suffix_markup3-label_markup1-prefix_markup1-expected_prefix_markup1]",
"tests/ui_tools/test_buttons.py::TestPMButton::test_button_text_length",
"tests/ui_tools/test_buttons.py::TestPMButton::test_button_text_title",
"tests/ui_tools/test_buttons.py::TestStarredButton::test_count_style_init_argument_value",
"tests/ui_tools/test_buttons.py::TestStreamButton::test_mark_muted",
"tests/ui_tools/test_buttons.py::TestStreamButton::test_mark_unmuted",
"tests/ui_tools/test_buttons.py::TestStreamButton::test_keypress_ENTER_TOGGLE_TOPIC[t]",
"tests/ui_tools/test_buttons.py::TestStreamButton::test_keypress_TOGGLE_MUTE_STREAM[m]",
"tests/ui_tools/test_buttons.py::TestUserButton::test_activate_called_once_on_keypress[enter]",
"tests/ui_tools/test_buttons.py::TestUserButton::test_keypress_USER_INFO[i]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[stream_message-emoji_button_with_no_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[stream_message-emoji_button_with_a_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[pm_message-emoji_button_with_no_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[pm_message-emoji_button_with_a_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[group_pm_message-emoji_button_with_no_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_init_calls_top_button[group_pm_message-emoji_button_with_a_reaction]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[stream_message-reacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[stream_message-reacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[stream_message-unreacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[stream_message-unreacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[pm_message-reacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[pm_message-reacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[pm_message-unreacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[pm_message-unreacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[group_pm_message-reacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[group_pm_message-reacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[group_pm_message-unreacted_unselected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestEmojiButton::test_keypress_emoji_button[group_pm_message-unreacted_selected_emoji-enter]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_top_button[2-86-topic1-Django-False]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_top_button[1-14-\\u2714",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_top_button[1000-205-topic3-PTEST-False]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_mark_muted[stream_and_topic_match]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_mark_muted[topic_mismatch]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_init_calls_mark_muted[stream_mismatch]",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_mark_muted",
"tests/ui_tools/test_buttons.py::TestTopicButton::test_keypress_EXIT_TOGGLE_TOPIC[t]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_init",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_update_widget[Test-5]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_update_widget[Check-6]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_handle_link[internal_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_handle_link[internal_media_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_handle_link[external_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__decode_stream_data[stream_data_current_version]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__decode_stream_data[stream_data_deprecated_version]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__decode_message_id[1-1]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__decode_message_id[foo-None]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[modern_stream_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[deprecated_stream_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[topic_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[stream_near_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[topic_near_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_1]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_2]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_3]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_4]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_5]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_6]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__parse_narrow_link[invalid_narrow_link_7]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[valid_modern_stream_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_modern_stream_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[valid_deprecated_stream_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_deprecated_stream_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[valid_topic_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_topic_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[valid_stream_near_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_stream_near_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[valid_topic_near_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_topic_near_narrow_parsed_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_narrow_link[invalid_narrow_link]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_and_patch_stream_data[valid_stream_data_with_stream_id]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_and_patch_stream_data[invalid_stream_data_with_stream_id]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_and_patch_stream_data[valid_stream_data_with_stream_name]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__validate_and_patch_stream_data[invalid_stream_data_with_stream_name]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__switch_narrow_to[stream_narrow]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__switch_narrow_to[topic_narrow]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__switch_narrow_to[stream_near_narrow]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test__switch_narrow_to[topic_near_narrow]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_handle_narrow_link[successful_narrow]",
"tests/ui_tools/test_buttons.py::TestMessageLinkButton::test_handle_narrow_link[unsuccessful_narrow]"
] | {
"failed_lite_validators": [
"has_hyperlinks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-08-19T06:31:05Z" | apache-2.0 |
|
zulip__zulip-terminal-1432 | diff --git a/README.md b/README.md
index c59e351..5763df6 100644
--- a/README.md
+++ b/README.md
@@ -232,6 +232,9 @@ theme=zt_dark
## Autohide: set to 'autohide' to hide the left & right panels except when they're focused
autohide=no_autohide
+## Exit Confirmation: set to 'disabled' to exit directly with no warning popup first
+exit_confirmation=enabled
+
## Footlinks: set to 'disabled' to hide footlinks; 'enabled' will show the first 3 per message
## For more flexibility, comment-out this value, and un-comment maximum-footlinks below
footlinks=enabled
diff --git a/zulipterminal/cli/run.py b/zulipterminal/cli/run.py
index 87794e9..a3ccd9d 100755
--- a/zulipterminal/cli/run.py
+++ b/zulipterminal/cli/run.py
@@ -61,6 +61,7 @@ requests_logger.setLevel(logging.DEBUG)
VALID_BOOLEAN_SETTINGS: Dict[str, Tuple[str, str]] = {
"autohide": ("autohide", "no_autohide"),
"notify": ("enabled", "disabled"),
+ "exit_confirmation": ("enabled", "disabled"),
}
COLOR_DEPTH_ARGS_TO_DEPTHS: Dict[str, int] = {
@@ -78,10 +79,14 @@ DEFAULT_SETTINGS = {
"footlinks": "enabled",
"color-depth": "256",
"maximum-footlinks": "3",
+ "exit_confirmation": "enabled",
}
assert DEFAULT_SETTINGS["autohide"] in VALID_BOOLEAN_SETTINGS["autohide"]
assert DEFAULT_SETTINGS["notify"] in VALID_BOOLEAN_SETTINGS["notify"]
assert DEFAULT_SETTINGS["color-depth"] in COLOR_DEPTH_ARGS_TO_DEPTHS
+assert (
+ DEFAULT_SETTINGS["exit_confirmation"] in VALID_BOOLEAN_SETTINGS["exit_confirmation"]
+)
def in_color(color: str, text: str) -> str:
@@ -537,6 +542,7 @@ def main(options: Optional[List[str]] = None) -> None:
incomplete_theme_text += " (all themes are incomplete)"
print(in_color("yellow", incomplete_theme_text))
print_setting("autohide setting", zterm["autohide"])
+ print_setting("exit confirmation setting", zterm["exit_confirmation"])
if zterm["footlinks"].source == ConfigSource.ZULIPRC:
print_setting(
"maximum footlinks value",
diff --git a/zulipterminal/core.py b/zulipterminal/core.py
index f93d89e..2799210 100644
--- a/zulipterminal/core.py
+++ b/zulipterminal/core.py
@@ -70,12 +70,14 @@ class Controller:
in_explore_mode: bool,
autohide: bool,
notify: bool,
+ exit_confirmation: bool,
) -> None:
self.theme_name = theme_name
self.theme = theme
self.color_depth = color_depth
self.in_explore_mode = in_explore_mode
self.autohide = autohide
+ self.exit_confirmation = exit_confirmation
self.notify_enabled = notify
self.maximum_footlinks = maximum_footlinks
@@ -107,7 +109,12 @@ class Controller:
self._exception_pipe = self.loop.watch_pipe(self._raise_exception)
# Register new ^C handler
- signal.signal(signal.SIGINT, self.exit_handler)
+ signal.signal(
+ signal.SIGINT,
+ self.prompting_exit_handler
+ if self.exit_confirmation
+ else self.no_prompt_exit_handler,
+ )
def raise_exception_in_main_thread(
self, exc_info: ExceptionInfo, *, critical: bool
@@ -621,7 +628,10 @@ class Controller:
self.client.deregister(queue_id, 1.0)
sys.exit(0)
- def exit_handler(self, signum: int, frame: Any) -> None:
+ def no_prompt_exit_handler(self, signum: int, frame: Any) -> None:
+ self.deregister_client()
+
+ def prompting_exit_handler(self, signum: int, frame: Any) -> None:
question = urwid.Text(
("bold", " Please confirm that you wish to exit Zulip-Terminal "),
"center",
| zulip/zulip-terminal | abdc4541ee39f44603b5ae40be8fc752591144b6 | diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py
index f1fde1c..7b4fe02 100644
--- a/tests/cli/test_run.py
+++ b/tests/cli/test_run.py
@@ -199,6 +199,7 @@ def test_valid_zuliprc_but_no_connection(
"Loading with:",
" theme 'zt_dark' specified from default config.",
" autohide setting 'no_autohide' specified from default config.",
+ " exit confirmation setting 'enabled' specified from default config.",
" maximum footlinks value '3' specified from default config.",
" color depth setting '256' specified from default config.",
" notify setting 'disabled' specified from default config.",
@@ -257,6 +258,7 @@ def test_warning_regarding_incomplete_theme(
"\x1b[93m WARNING: Incomplete theme; results may vary!",
f" {expected_warning}\x1b[0m",
" autohide setting 'no_autohide' specified from default config.",
+ " exit confirmation setting 'enabled' specified from default config.",
" maximum footlinks value '3' specified from default config.",
" color depth setting '256' specified from default config.",
" notify setting 'disabled' specified from default config.",
@@ -475,6 +477,7 @@ def test_successful_main_function_with_config(
"Loading with:",
" theme 'zt_dark' specified in zuliprc file (by alias 'default').",
" autohide setting 'autohide' specified in zuliprc file.",
+ " exit confirmation setting 'enabled' specified from default config.",
f" maximum footlinks value {footlinks_output}",
" color depth setting '256' specified in zuliprc file.",
" notify setting 'enabled' specified in zuliprc file.",
diff --git a/tests/core/test_core.py b/tests/core/test_core.py
index 9f13a40..033f126 100644
--- a/tests/core/test_core.py
+++ b/tests/core/test_core.py
@@ -48,6 +48,7 @@ class TestController:
self.in_explore_mode = False
self.autohide = True # FIXME Add tests for no-autohide
self.notify_enabled = False
+ self.exit_confirmation = True
self.maximum_footlinks = 3
result = Controller(
config_file=self.config_file,
@@ -60,6 +61,7 @@ class TestController:
**dict(
autohide=self.autohide,
notify=self.notify_enabled,
+ exit_confirmation=self.exit_confirmation,
),
)
result.view.message_view = mocker.Mock() # set in View.__init__
| Add popup to confirm exiting the application
I raised a concern over this some time ago in [#zulip-terminal>Confirm before exiting? #T1341](https://chat.zulip.org/#narrow/stream/206-zulip-terminal/topic/Confirm.20before.20exiting.3F.20.23T1341); see there for motivation.
The design for this could be as follows:
- reuse our existing confirmation popup to trigger on the exit keypress, instead of it directly exiting the application
- enable this by default, but add a configuration file option to specify a preference
- perhaps also a command-line option, to both enable and disable it (eg. to support default=confirm, config=no-confirm, command-line=confirm)
The first step of these would be a good first issue, and if that goes well the later points could be included in the first PR or follow-up(s).
The exit keypress (`QUIT`) is listed in the help but doesn't connect to a specific event like most other symbolic keys (eg. `HELP`), since it is actually us setting the `Ctrl c` (`SIGINT`) signal handler in `core.py` which controls what happens here. Intercepting that flow of functions would be the first thing to try.
We may later want to explore a different approach where we block that signal completely in the same way that we block Ctrl+z/s, and then use regular keypress handling instead, though if the urwid main loop blocks then we may lose the ability to shut down as cleanly. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/cli/test_run.py::test_valid_zuliprc_but_no_connection",
"tests/cli/test_run.py::test_warning_regarding_incomplete_theme[c-expected_complete_incomplete_themes0-(you",
"tests/cli/test_run.py::test_warning_regarding_incomplete_theme[d-expected_complete_incomplete_themes1-(all",
"tests/cli/test_run.py::test_successful_main_function_with_config[footlinks_disabled]",
"tests/cli/test_run.py::test_successful_main_function_with_config[footlinks_enabled]",
"tests/cli/test_run.py::test_successful_main_function_with_config[maximum-footlinks_3]",
"tests/cli/test_run.py::test_successful_main_function_with_config[maximum-footlinks_0]",
"tests/core/test_core.py::TestController::test_initialize_controller",
"tests/core/test_core.py::TestController::test_initial_editor_mode",
"tests/core/test_core.py::TestController::test_current_editor_error_if_no_editor",
"tests/core/test_core.py::TestController::test_editor_mode_entered_from_initial",
"tests/core/test_core.py::TestController::test_editor_mode_error_on_multiple_enter",
"tests/core/test_core.py::TestController::test_editor_mode_exits_after_entering",
"tests/core/test_core.py::TestController::test_narrow_to_stream",
"tests/core/test_core.py::TestController::test_narrow_to_topic[all-messages_to_topic_narrow_no_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_topic[topic_narrow_to_same_topic_narrow_with_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_topic[topic_narrow_to_same_topic_narrow_with_other_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_user",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[None-537288]",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[537286-537286]",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[537288-537288]",
"tests/core/test_core.py::TestController::test_narrow_to_all_pm",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred0]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred1]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred2]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred3]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred4]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred5]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred6]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream_mention__stream_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+pm_mention__no_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[no_mention__stream+pm_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+group_mention__pm_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[pm_mention__stream+group_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[group_mention__all_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[all_mention__stream_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+group_mention__wildcard]",
"tests/core/test_core.py::TestController::test_copy_to_clipboard_no_exception[copy",
"tests/core/test_core.py::TestController::test_copy_to_clipboard_exception",
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://chat.zulip.org/#narrow/stream/test]",
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://chat.zulip.org/user_uploads/sent/abcd/efg.png]",
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://github.com/]",
"tests/core/test_core.py::TestController::test_open_in_browser_fail__no_browser_controller",
"tests/core/test_core.py::TestController::test_main",
"tests/core/test_core.py::TestController::test_stream_muting_confirmation_popup[muted_streams0-unmuting]",
"tests/core/test_core.py::TestController::test_stream_muting_confirmation_popup[muted_streams1-muting]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[above_linear_range]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[in_linear_range]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[below_linear_range]",
"tests/core/test_core.py::TestController::test_show_typing_notification[in_pm_narrow_with_sender_typing:start]",
"tests/core/test_core.py::TestController::test_show_typing_notification[in_pm_narrow_with_sender_typing:stop]"
] | [
"tests/cli/test_run.py::test_in_color[red-\\x1b[91m]",
"tests/cli/test_run.py::test_in_color[green-\\x1b[92m]",
"tests/cli/test_run.py::test_in_color[yellow-\\x1b[93m]",
"tests/cli/test_run.py::test_in_color[blue-\\x1b[94m]",
"tests/cli/test_run.py::test_in_color[purple-\\x1b[95m]",
"tests/cli/test_run.py::test_in_color[cyan-\\x1b[96m]",
"tests/cli/test_run.py::test_get_login_label[json0-Email",
"tests/cli/test_run.py::test_get_login_label[json1-Username]",
"tests/cli/test_run.py::test_get_login_label[json2-Email]",
"tests/cli/test_run.py::test_get_login_label[json3-Email]",
"tests/cli/test_run.py::test_get_server_settings",
"tests/cli/test_run.py::test_get_server_settings__not_a_zulip_organization",
"tests/cli/test_run.py::test_main_help[-h]",
"tests/cli/test_run.py::test_main_help[--help]",
"tests/cli/test_run.py::test_zt_version[-v]",
"tests/cli/test_run.py::test_zt_version[--version]",
"tests/cli/test_run.py::test_parse_args_valid_autohide_option[--autohide-autohide]",
"tests/cli/test_run.py::test_parse_args_valid_autohide_option[--no-autohide-no_autohide]",
"tests/cli/test_run.py::test_parse_args_valid_autohide_option[--debug-None]",
"tests/cli/test_run.py::test_main_multiple_autohide_options[options0]",
"tests/cli/test_run.py::test_main_multiple_autohide_options[options1]",
"tests/cli/test_run.py::test__parse_args_valid_notify_option[--notify-enabled]",
"tests/cli/test_run.py::test__parse_args_valid_notify_option[--no-notify-disabled]",
"tests/cli/test_run.py::test__parse_args_valid_notify_option[--profile-None]",
"tests/cli/test_run.py::test_main_multiple_notify_options[options0]",
"tests/cli/test_run.py::test_main_multiple_notify_options[options1]",
"tests/cli/test_run.py::test_main_error_with_invalid_zuliprc_options[zulip_config0-Configuration",
"tests/cli/test_run.py::test_main_error_with_invalid_zuliprc_options[zulip_config1-Configuration",
"tests/cli/test_run.py::test_exit_with_error[1-]",
"tests/cli/test_run.py::test_exit_with_error[2-helper]",
"tests/cli/test_run.py::test__write_zuliprc__success",
"tests/cli/test_run.py::test__write_zuliprc__fail_file_exists",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[63]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[56]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[7]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[54]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[48]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[6]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[45]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[40]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[5]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[36]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[32]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[4]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[27]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[24]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[3]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[18]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[16]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[2]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[9]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[8]",
"tests/cli/test_run.py::test_show_error_if_loading_zuliprc_with_open_permissions[1]"
] | {
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-10-01T17:57:56Z" | apache-2.0 |
|
zulip__zulip-terminal-1448 | diff --git a/zulipterminal/api_types.py b/zulipterminal/api_types.py
index 8acf4d0..9bf3b5b 100644
--- a/zulipterminal/api_types.py
+++ b/zulipterminal/api_types.py
@@ -50,10 +50,12 @@ MessageType = Union[DirectMessageString, StreamMessageString]
#
# NOTE: `to` field could be email until ZFL 11/3.0; ids were possible from 2.0+
-# Timing parameters for when notifications should occur
-TYPING_STARTED_WAIT_PERIOD: Final = 10
-TYPING_STOPPED_WAIT_PERIOD: Final = 5
-TYPING_STARTED_EXPIRY_PERIOD: Final = 15 # TODO: Needs implementation in ZT
+# In ZFL 204, these values were made server-configurable
+# Before this feature level, these values were fixed as follows:
+# Timing parameters for when notifications should occur (in milliseconds)
+TYPING_STARTED_WAIT_PERIOD: Final = 10000
+TYPING_STOPPED_WAIT_PERIOD: Final = 5000
+TYPING_STARTED_EXPIRY_PERIOD: Final = 15000 # TODO: Needs implementation in ZT
TypingStatusChange = Literal["start", "stop"]
diff --git a/zulipterminal/model.py b/zulipterminal/model.py
index 9c6fce6..22988c6 100644
--- a/zulipterminal/model.py
+++ b/zulipterminal/model.py
@@ -34,6 +34,9 @@ from zulipterminal.api_types import (
MAX_MESSAGE_LENGTH,
MAX_STREAM_NAME_LENGTH,
MAX_TOPIC_NAME_LENGTH,
+ TYPING_STARTED_EXPIRY_PERIOD,
+ TYPING_STARTED_WAIT_PERIOD,
+ TYPING_STOPPED_WAIT_PERIOD,
Composition,
CustomFieldValue,
DirectTypingNotification,
@@ -214,6 +217,7 @@ class Model:
self._draft: Optional[Composition] = None
self._store_content_length_restrictions()
+ self._store_typing_duration_settings()
self.active_emoji_data, self.all_emoji_names = self.generate_all_emoji_data(
self.initial_data["realm_emoji"]
@@ -791,6 +795,25 @@ class Model:
"max_message_length", MAX_MESSAGE_LENGTH
)
+ def _store_typing_duration_settings(self) -> None:
+ """
+ Store typing duration fields in model.
+ In ZFL 204, these values were made server-configurable.
+ Uses default values if not received from server.
+ """
+ self.typing_started_wait_period = self.initial_data.get(
+ "server_typing_started_wait_period_milliseconds",
+ TYPING_STARTED_WAIT_PERIOD,
+ )
+ self.typing_stopped_wait_period = self.initial_data.get(
+ "server_typing_stopped_wait_period_milliseconds",
+ TYPING_STOPPED_WAIT_PERIOD,
+ )
+ self.typing_started_expiry_period = self.initial_data.get(
+ "server_typing_started_expiry_period_milliseconds",
+ TYPING_STARTED_EXPIRY_PERIOD,
+ )
+
@staticmethod
def modernize_message_response(message: Message) -> Message:
"""
diff --git a/zulipterminal/ui_tools/boxes.py b/zulipterminal/ui_tools/boxes.py
index db5f396..6867d5a 100644
--- a/zulipterminal/ui_tools/boxes.py
+++ b/zulipterminal/ui_tools/boxes.py
@@ -13,13 +13,7 @@ import urwid
from typing_extensions import Literal
from urwid_readline import ReadlineEdit
-from zulipterminal.api_types import (
- TYPING_STARTED_WAIT_PERIOD,
- TYPING_STOPPED_WAIT_PERIOD,
- Composition,
- PrivateComposition,
- StreamComposition,
-)
+from zulipterminal.api_types import Composition, PrivateComposition, StreamComposition
from zulipterminal.config.keys import (
is_command_key,
keys_for_command,
@@ -237,8 +231,12 @@ class WriteBox(urwid.Pile):
]
self.focus_position = self.FOCUS_CONTAINER_MESSAGE
- start_period_delta = timedelta(seconds=TYPING_STARTED_WAIT_PERIOD)
- stop_period_delta = timedelta(seconds=TYPING_STOPPED_WAIT_PERIOD)
+ start_period_delta = timedelta(
+ milliseconds=self.model.typing_started_wait_period
+ )
+ stop_period_delta = timedelta(
+ milliseconds=self.model.typing_stopped_wait_period
+ )
def on_type_send_status(edit: object, new_edit_text: str) -> None:
if new_edit_text and self.typing_recipient_user_ids:
| zulip/zulip-terminal | ee7564c9651f2c8cc6514a72e020827cfecbf938 | diff --git a/tests/model/test_model.py b/tests/model/test_model.py
index 915621f..51c71eb 100644
--- a/tests/model/test_model.py
+++ b/tests/model/test_model.py
@@ -14,6 +14,9 @@ from zulipterminal.model import (
MAX_MESSAGE_LENGTH,
MAX_STREAM_NAME_LENGTH,
MAX_TOPIC_NAME_LENGTH,
+ TYPING_STARTED_EXPIRY_PERIOD,
+ TYPING_STARTED_WAIT_PERIOD,
+ TYPING_STOPPED_WAIT_PERIOD,
Model,
ServerConnectionFailure,
UserSettings,
@@ -1391,6 +1394,45 @@ class TestModel:
assert model.max_topic_length == MAX_TOPIC_NAME_LENGTH
assert model.max_message_length == MAX_MESSAGE_LENGTH
+ def test__store_typing_duration_settings__default_values(self, model, initial_data):
+ model.initial_data = initial_data
+
+ model._store_typing_duration_settings()
+
+ assert model.typing_started_wait_period == TYPING_STARTED_WAIT_PERIOD
+ assert model.typing_stopped_wait_period == TYPING_STOPPED_WAIT_PERIOD
+ assert model.typing_started_expiry_period == TYPING_STARTED_EXPIRY_PERIOD
+
+ def test__store_typing_duration_settings__with_values(
+ self,
+ model,
+ initial_data,
+ feature_level=204,
+ typing_started_wait=7500,
+ typing_stopped_wait=3000,
+ typing_started_expiry=10000,
+ ):
+ # Ensure inputs are not the defaults, to avoid the test accidentally passing
+ assert typing_started_wait != TYPING_STARTED_WAIT_PERIOD
+ assert typing_stopped_wait != TYPING_STOPPED_WAIT_PERIOD
+ assert typing_started_expiry != TYPING_STARTED_EXPIRY_PERIOD
+
+ to_vary_in_initial_data = {
+ "server_typing_started_wait_period_milliseconds": typing_started_wait,
+ "server_typing_stopped_wait_period_milliseconds": typing_stopped_wait,
+ "server_typing_started_expiry_period_milliseconds": typing_started_expiry,
+ }
+
+ initial_data.update(to_vary_in_initial_data)
+ model.initial_data = initial_data
+ model.server_feature_level = feature_level
+
+ model._store_typing_duration_settings()
+
+ assert model.typing_started_wait_period == typing_started_wait
+ assert model.typing_stopped_wait_period == typing_stopped_wait
+ assert model.typing_started_expiry_period == typing_started_expiry
+
def test_get_message_false_first_anchor(
self,
mocker,
diff --git a/tests/ui_tools/test_boxes.py b/tests/ui_tools/test_boxes.py
index 869cc98..dbdd082 100644
--- a/tests/ui_tools/test_boxes.py
+++ b/tests/ui_tools/test_boxes.py
@@ -7,6 +7,11 @@ from pytest import param as case
from pytest_mock import MockerFixture
from urwid import Widget
+from zulipterminal.api_types import (
+ TYPING_STARTED_EXPIRY_PERIOD,
+ TYPING_STARTED_WAIT_PERIOD,
+ TYPING_STOPPED_WAIT_PERIOD,
+)
from zulipterminal.config.keys import keys_for_command, primary_key_for_command
from zulipterminal.config.symbols import (
INVALID_MARKER,
@@ -50,6 +55,9 @@ class TestWriteBox:
write_box.model.max_stream_name_length = 60
write_box.model.max_topic_length = 60
write_box.model.max_message_length = 10000
+ write_box.model.typing_started_wait_period = TYPING_STARTED_WAIT_PERIOD
+ write_box.model.typing_stopped_wait_period = TYPING_STOPPED_WAIT_PERIOD
+ write_box.model.typing_started_expiry_period = TYPING_STARTED_EXPIRY_PERIOD
write_box.model.user_group_names = [
groups["name"] for groups in user_groups_fixture
]
| Respect server typing notification duration settings
Prior to Feature level 204 (Zulip 8.0) typing notification values were expected to be fixed values, as listed in `api_types.py`.
From this feature level (https://zulip.com/api/changelog), the server expects clients to use various `server_typing_*_milliseconds` values returned from `register` instead.
Note that we need to fall back to the fixed values for earlier server versions, so those versions should be retained in the current source file, and tests should ensure that the values are correct.
Code which uses these values should not directly access these values, but now query the model instead. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/model/test_model.py::TestModel::test_init",
"tests/model/test_model.py::TestModel::test_init_user_settings[None-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[True-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[False-False]",
"tests/model/test_model.py::TestModel::test_user_settings_expected_contents",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:None]",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:1]",
"tests/model/test_model.py::TestModel::test_init_InvalidAPIKey_response",
"tests/model/test_model.py::TestModel::test_init_ZulipError_exception",
"tests/model/test_model.py::TestModel::test_register_initial_desired_events",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=None_no_stream_retention_realm_retention=None]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=16_no_stream_retention_realm_retention=-1]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=17_stream_retention_days=30]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=18_stream_retention_days=[None,",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-None]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-5]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow0-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow1-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow2-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow3-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow4-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow5-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow6-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow7-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow8-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow9-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow10-True]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow0-narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow1-narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow2-narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow3-narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow4-narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow5-narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow6-narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow0-index0-current_ids0]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow1-index1-current_ids1]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow2-index2-current_ids2]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow3-index3-current_ids3]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow4-index4-current_ids4]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow5-index5-current_ids5]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow6-index6-current_ids6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow7-index7-current_ids7]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow8-index8-current_ids8]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow9-index9-current_ids9]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow10-index10-current_ids10]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response0-expected_index0-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response1-expected_index1-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response2-expected_index2-Some",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index0-False]",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index1-True]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_invalid_emoji",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[id_inside_user_field__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[user_id_inside_user_field__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[start]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[stop]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response1-False]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response1-False]",
"tests/model/test_model.py::TestModel::test_send_private_message_with_no_recipients",
"tests/model/test_model.py::TestModel::test_send_stream_message[response0-True]",
"tests/model/test_model.py::TestModel::test_send_stream_message[response1-False]",
"tests/model/test_model.py::TestModel::test_update_private_message[response0-True]",
"tests/model/test_model.py::TestModel::test_update_private_message[response1-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-None-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-152-True]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response0-return_value0]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response1-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response2-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response3-None]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_success_get_messages",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_4.0+_ZFL46_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_empty_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_with_subject_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_empty_subject_links]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_2.1.x_ZFL_None_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_3.1.x_ZFL_27_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_52_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_53_with_restrictions]",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__default_values",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__with_values",
"tests/model/test_model.py::TestModel::test_get_message_false_first_anchor",
"tests/model/test_model.py::TestModel::test_fail_get_messages",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response0-Feels",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response1-None-True]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[muting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[unmuting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[first_muted_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[last_unmuted_205]",
"tests/model/test_model.py::TestModel::test_stream_access_type",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before0-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before1-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before2-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before3-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before4-remove]",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read_empty_message_view",
"tests/model/test_model.py::TestModel::test__update_initial_data",
"tests/model/test_model.py::TestModel::test__group_info_from_realm_user_groups",
"tests/model/test_model.py::TestModel::test__clean_and_order_custom_profile_data",
"tests/model/test_model.py::TestModel::test_get_user_info[user_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_moderator:Zulip_4.0+_ZFL60]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_member]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_3.0+]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_bot]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:Zulip_3.0+_ZFL1]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:preZulip_3.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_no_owner]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_has_custom_profile_data]",
"tests/model/test_model.py::TestModel::test_get_user_info_USER_NOT_FOUND",
"tests/model/test_model.py::TestModel::test_get_user_info_sample_response",
"tests/model/test_model.py::TestModel::test__update_users_data_from_initial_data",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted3]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_all_messages]",
"tests/model/test_model.py::TestModel::test__handle_message_event[private_to_all_private]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_stream]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_different_stream_same_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_appears_in_narrow_with_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[search]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_does_not_appear_in_narrow_without_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[mentioned_msg_in_mentioned_msg_narrow]",
"tests/model/test_model.py::TestModel::test__update_topic_index[reorder_topic3]",
"tests/model/test_model.py::TestModel::test__update_topic_index[topic1_discussion_continues]",
"tests/model/test_model.py::TestModel::test__update_topic_index[new_topic4]",
"tests/model/test_model.py::TestModel::test__update_topic_index[first_topic_1]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-False-private",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-False-private",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Only",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Subject",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Message",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Both",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Some",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[message_id",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_removed_due_to_topic_narrow_mismatch]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[previous_topic_narrow_empty_so_change_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[add]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[remove]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[add-2]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[remove-1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[pinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[unpinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[first_pinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[last_unpinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_disable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[first_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[last_notification_disable_205]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow_with_sender]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start_while_animation_in_progress]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:stop]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_18_in_home_view:already_unmuted:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_in_home_view:muted:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_19_in_home_view:already_muted:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_in_home_view:unmuted:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_30_is_muted:already_unmutedZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_is_muted:muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_15_is_muted:already_muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_is_muted:unmuted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[pin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[unpin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFLNone]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[full_name]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[timezone]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[billing_admin_role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[avatar]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[display_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[delivery_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Short",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Long",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[List",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Date",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Person",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[External",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[True]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[False]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[True]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[False]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[True]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[False]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[muted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream_nostreamsmuted]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_enabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled_no_streams_to_notify]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:None-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:None-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:None-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:None-topic3-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic3-False]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_no_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_still_present_in_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_no_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_skipping_first_muted_stream_unread]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_muted]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_same_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_not_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_in_same_stream_wrap_around]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[streams_sorted_according_to_left_panel]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message__empty_narrow[unread_topics0-empty_narrow0-1-next_unread_topic0]",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_again",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_no_unread",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[stream_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[direct_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[non-existent",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[subscribed_stream]",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[unsubscribed_stream]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[unedited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[edited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_error[response0]",
"tests/model/test_model.py::TestModel::test_user_name_from_id_valid[1001-Human",
"tests/model/test_model.py::TestModel::test_user_name_from_id_invalid[-1]",
"tests/model/test_model.py::TestModel::test_generate_all_emoji_data",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_removed]",
"tests/model/test_model.py::TestModel::test_poll_for_events__no_disconnect",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_1st_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_2nd_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_3rd_attempt]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_init",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_without_recipients",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#**invalid",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#invalid",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[#*Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[(#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[&#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[@#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[@_#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_stream_and_topic[:#**Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_to_oneself[pm_only_with_oneself]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_typing_method_to_oneself[group_pm]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_send_private_message_without_recipients[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_not_calling_send_private_message_without_recipients[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__compose_attributes_reset_for_private_compose[esc]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__compose_attributes_reset_for_stream_compose[esc]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_with_improper_formatting]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_with_extra_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_first_recipient_out_of_two]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_second_recipient_out_of_two]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-two_untidy_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-three_untidy_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_tidying_recipients_on_keypresses[tab-untidy_middle_recipient_out_of_three]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-name_email_mismatch]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-no_name_specified]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_footer_notification_on_invalid_recipients[tab-no_email_specified]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_update_recipients[single_recipient]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_update_recipients[multiple_recipients]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_no_prefix[Plain",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@-0-footer_text0]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@*-0-footer_text1]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@**-0-footer_text2]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@Human-0-footer_text3]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@**Human-0-footer_text4]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_Human-0-footer_text5]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_*Human-None-footer_text6]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@_**Human-0-footer_text7]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@Human-None-footer_text8]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[@NoMatch-None-footer_text9]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#Stream-0-footer_text10]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#*Stream-None-footer_text11]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#**Stream-0-footer_text12]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#Stream-None-footer_text13]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[#NoMatch-None-footer_text14]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:smi-0-footer_text15]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:smi-None-footer_text16]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_set_footer[:NoMatch-None-footer_text17]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human-4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--5-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human--6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-0-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-2-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-3-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human-4-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@H-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Hu-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Hum-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Huma-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_H-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Hu-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Hum-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Huma-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Group-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Group-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@G-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gr-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gro-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Grou-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@G-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gr-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Gro-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@Grou-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-3-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-4-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-5-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-6-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-7-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-8-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-9-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@-10-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**-6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-0-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-2-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-3-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-4-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@*-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-0-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-2-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-3-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-4-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-5-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_-6-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_--1-@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[(@H-0-(@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[(@H-1-(@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[-@G-0--@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[-@G-1--@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[_@H-0-_@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[_@G-0-_@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@H-0-@@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[:@H-0-:@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[#@H-0-#@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_@H-0-@_@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[>@_H-0->@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[>@_H-1->@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@_@_H-0-@_@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_H-0-@@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[:@_H-0-:@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[#@_H-0-#@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_*H-0-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions[@@_**H-0-@@_**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-0-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-1-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@-2-@**Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_mentions_subscribers[@--1-@*Group",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@H-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Hu-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Hum-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Huma-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@Human-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**H-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Hu-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Hum-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Huma-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@**Human-@]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_H-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Hu-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Hum-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Huma-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_user_mentions[@_Human-@_]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead0-stream_categories0]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#S-state_and_required_typeahead1-stream_categories1]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#So-state_and_required_typeahead2-stream_categories2]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Se-state_and_required_typeahead3-stream_categories3]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#St-state_and_required_typeahead4-stream_categories4]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#g-state_and_required_typeahead5-stream_categories5]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#nomatch-state_and_required_typeahead7-stream_categories7]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#ene-state_and_required_typeahead8-stream_categories8]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[[#Stream-state_and_required_typeahead9-stream_categories9]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[(#Stream-state_and_required_typeahead10-stream_categories10]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[@#Stream-state_and_required_typeahead11-stream_categories11]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[@_#Stream-state_and_required_typeahead12-stream_categories12]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[:#Stream-state_and_required_typeahead13-stream_categories13]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##Stream-state_and_required_typeahead14-stream_categories14]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##*Stream-state_and_required_typeahead15-stream_categories15]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[##**Stream-state_and_required_typeahead16-stream_categories16]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead17-stream_categories17]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead18-stream_categories18]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead19-stream_categories19]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead20-stream_categories20]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead21-stream_categories21]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead22-stream_categories22]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead23-stream_categories23]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#S-state_and_required_typeahead24-stream_categories24]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_streams[#Stream-state_and_required_typeahead25-stream_categories25]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o-0-:rock_on:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o-1-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o--1-:rock_on:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:rock_o--2-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-0-:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-1-:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:smi-2-:smirk:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jo-0-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jo-1-:joy_cat:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:jok-0-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:-0-:happy:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:-1-:joker:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:--3-:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:--2-:smirk:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:nomatch-0-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[:nomatch--1-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[(:smi-0-(:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[&:smi-1-&:smiley:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[@:smi-0-@:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[@_:smi-0-@_:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_generic_autocomplete_emojis[#:smi-0-#:smile:]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_spaces[Hu-Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_spaces[Human",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[name_search_text_with_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[email_search_text_with_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[name_search_text_without_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__to_box_autocomplete_with_multiple_recipients[email_search_text_without_space_after_separator]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[no_search_text_with_pinned_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete[single_word_search_text_with_pinned_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[web_public_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[private_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[public_stream]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__set_stream_write_box_style_markers[invalid_stream_name]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete_with_spaces[Som-Some",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__stream_box_autocomplete_with_spaces[Some",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[no_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[single_word_search_text]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[split_in_first_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[split_in_second_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[first_split_in_third_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete[second_split_in_third_word]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete_with_spaces[Th-This",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__topic_box_autocomplete_with_spaces[This",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[fewer_than_10_typeaheads]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[more_than_10_typeaheads]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-None]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-greater_than_possible_index]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test__process_typeaheads[invalid_state-less_than_possible_index]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_SEND_MESSAGE_no_topic[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_SEND_MESSAGE_no_topic[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[ctrl",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[esc-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[space-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_typeahead_mode_autocomplete_key[k-True-False-True]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-stream_name_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_edit_only-topic_to_edit_mode_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-topic_edit_only-edit_mode_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-message_to_stream_name_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-stream_name_to_topic_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-topic_to_edit_mode_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-edit_mode_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-edit_box-message_to_stream_name_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-recipient_to_message_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_CYCLE_COMPOSE_FOCUS[tab-message_to_recipient_box]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_keypress_MARKDOWN_HELP[meta",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[private_message]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[stream_message]",
"tests/ui_tools/test_boxes.py::TestWriteBox::test_write_box_header_contents[stream_edit_message]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_init",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_reset_search_text",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_urwid_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_unicode_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_unicode_em_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-allow_entry_of_x]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-allow_entry_of_delta]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[no_text-disallow_entry_of_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[text-allow_entry_of_space]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_valid_char[text-disallow_urwid_backspace]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_ENTER[enter-log0-False]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_ENTER[enter-log1-True]",
"tests/ui_tools/test_boxes.py::TestPanelSearchBox::test_keypress_GO_BACK[esc]"
] | [] | {
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-12-09T17:08:47Z" | apache-2.0 |
|
zulip__zulip-terminal-1449 | diff --git a/zulipterminal/ui_tools/messages.py b/zulipterminal/ui_tools/messages.py
index 1598306..1a9bb9d 100644
--- a/zulipterminal/ui_tools/messages.py
+++ b/zulipterminal/ui_tools/messages.py
@@ -442,9 +442,10 @@ class MessageBox(urwid.Pile):
markup.append(("msg_math", tag_text))
elif tag == "span" and (
- {"user-group-mention", "user-mention"} & set(tag_classes)
+ {"user-group-mention", "user-mention", "topic-mention"}
+ & set(tag_classes)
):
- # USER MENTIONS & USER-GROUP MENTIONS
+ # USER, USER-GROUP & TOPIC MENTIONS
markup.append(("msg_mention", tag_text))
elif tag == "a":
# LINKS
| zulip/zulip-terminal | eee60796aa7b3d72d0e2ffe950853958e6832aa7 | diff --git a/tests/ui_tools/test_messages.py b/tests/ui_tools/test_messages.py
index f56da14..d4d9e80 100644
--- a/tests/ui_tools/test_messages.py
+++ b/tests/ui_tools/test_messages.py
@@ -114,6 +114,11 @@ class TestMessageBox:
[("msg_mention", "@A Group")],
id="group-mention",
),
+ case(
+ '<span class="topic-mention">@topic',
+ [("msg_mention", "@topic")],
+ id="topic-mention",
+ ),
case("<code>some code", [("pygments:w", "some code")], id="inline-code"),
case(
'<div class="codehilite" data-code-language="python">'
| Render @topic wildcard mentions correctly when displayed in a message feed.
[CZO discussion](https://chat.zulip.org/#narrow/stream/378-api-design/topic/.40topic-mention.20data-user-id.20.2326195/near/1605762)
For stream wildcard mentions (all, everyone, stream), the rendered content is:
```
<span class="user-mention" data-user-id="*">@{stream_wildcard}</span>
```
As a part of the @topic wildcard mentions project ( [#22829](https://github.com/zulip/zulip/issues/22829) ) , we have introduced `@topic`; the rendered content is:
```
<span class="topic-mention">@{topic_wildcard}</span>
```
Since we are not using `user-mention` class (and data-user-id="*" attribute), the `@topic` mention is not rendered correctly.
[#26195 (comment)](https://github.com/zulip/zulip/pull/26195) | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[topic-mention]"
] | [
"tests/ui_tools/test_messages.py::TestMessageBox::test_init[stream-set_fields0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_init[private-set_fields1]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_init_fails_with_bad_message_type",
"tests/ui_tools/test_messages.py::TestMessageBox::test_private_message_to_self",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[empty]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[p]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[user-mention]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h1]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h3]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h4]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h5]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h6]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[group-mention]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline-code]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-code]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-code-old]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-plain-text-codeblock]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-plain-text-codeblock-old]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[strong]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[em]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[blockquote]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[embedded_content]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_two]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_samelinkdifferentname]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_duplicatelink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_trailingslash]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_trailingslashduplicatelink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_sametext]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_sameimage]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_differenttext]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_userupload]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_api]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_serverrelative_same]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_textwithoutscheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_differentscheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[empty_li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_with_li_p_newline]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[two_li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[two_li_with_li_p_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_nested]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_heavily_nested]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[br]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[br2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[hr]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[hr2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[img]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[img2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_default]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_left_and_right_alignments]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_center_and_right_alignments]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_single_column]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_the_bare_minimum]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[time_human_readable_input]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[time_UNIX_timestamp_input]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[katex_HTML_response_math_fenced_markdown]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[katex_HTML_response_double_$_fenced_markdown]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ul]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ul_with_ul_li_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol_with_ol_li_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol_starting_at_5]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[strikethrough_del]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline_image]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline_ref]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[preview-twitter]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[zulip_extra_emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[custom_emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view[message0-None]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view[message1-None]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_renders_slash_me[<p>/me",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_renders_slash_me[<p>This",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[different_stream_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[different_topic_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[PM_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_PM_header[larger_pm_group-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_PM_header[stream_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow0-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow1-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow2-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow3-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow4-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow5-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow6-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow7-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow8-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow9-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow10-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow11-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow12-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow13-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow14-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow15-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow16-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow17-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_EDITED_label",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[stream_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[stream_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[pm_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[pm_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[group_pm_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[group_pm_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[all_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[stream_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[topic_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[private_conversation_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[starred_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[mentions_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[private_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[quoted",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[multi-line",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[quoting",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[one_footlink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[more_than_one_footlink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[similar_link_and_text]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[different_link_and_text]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[http_default_scheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[0-NoneType]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[1-Padding]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[3-Padding]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_mouse_event_left_click[ignore_mouse_click-left_click-key:enter]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_mouse_event_left_click[handle_mouse_click-left_click-key:enter]"
] | {
"failed_lite_validators": [
"has_hyperlinks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-12-12T11:34:18Z" | apache-2.0 |
|
zulip__zulip-terminal-1459 | diff --git a/zulipterminal/api_types.py b/zulipterminal/api_types.py
index b341993..7e102e3 100644
--- a/zulipterminal/api_types.py
+++ b/zulipterminal/api_types.py
@@ -93,6 +93,7 @@ class PrivateComposition(TypedDict):
type: DirectMessageString
content: str
to: List[int] # User ids
+ read_by_sender: bool # New in ZFL 236, Zulip 8.0
class StreamComposition(TypedDict):
@@ -100,6 +101,7 @@ class StreamComposition(TypedDict):
content: str
to: str # stream name # TODO: Migrate to using int (stream id)
subject: str # TODO: Migrate to using topic
+ read_by_sender: bool # New in ZFL 236, Zulip 8.0
Composition = Union[PrivateComposition, StreamComposition]
diff --git a/zulipterminal/model.py b/zulipterminal/model.py
index 72215c8..75f4c06 100644
--- a/zulipterminal/model.py
+++ b/zulipterminal/model.py
@@ -541,6 +541,7 @@ class Model:
type="private",
to=recipients,
content=content,
+ read_by_sender=True,
)
response = self.client.send_message(composition)
display_error_if_present(response, self.controller)
@@ -557,6 +558,7 @@ class Model:
to=stream,
subject=topic,
content=content,
+ read_by_sender=True,
)
response = self.client.send_message(composition)
display_error_if_present(response, self.controller)
diff --git a/zulipterminal/ui_tools/boxes.py b/zulipterminal/ui_tools/boxes.py
index 441eaba..b084ef5 100644
--- a/zulipterminal/ui_tools/boxes.py
+++ b/zulipterminal/ui_tools/boxes.py
@@ -820,6 +820,7 @@ class WriteBox(urwid.Pile):
type="private",
to=self.recipient_user_ids,
content=self.msg_write_box.edit_text,
+ read_by_sender=True,
)
elif self.compose_box_status == "open_with_stream":
this_draft = StreamComposition(
@@ -827,6 +828,7 @@ class WriteBox(urwid.Pile):
to=self.stream_write_box.edit_text,
content=self.msg_write_box.edit_text,
subject=self.title_write_box.edit_text,
+ read_by_sender=True,
)
saved_draft = self.model.session_draft_message()
if not saved_draft:
| zulip/zulip-terminal | 107fa9b814fb6db6c4b5405faea1de727f8ceb04 | diff --git a/tests/model/test_model.py b/tests/model/test_model.py
index 6b5a18e..43f80ae 100644
--- a/tests/model/test_model.py
+++ b/tests/model/test_model.py
@@ -773,7 +773,7 @@ class TestModel:
result = model.send_private_message(recipients, content)
- req = dict(type="private", to=recipients, content=content)
+ req = dict(type="private", to=recipients, content=content, read_by_sender=True)
self.client.send_message.assert_called_once_with(req)
assert result == return_value
@@ -810,7 +810,13 @@ class TestModel:
result = model.send_stream_message(stream, topic, content)
- req = dict(type="stream", to=stream, subject=topic, content=content)
+ req = dict(
+ type="stream",
+ to=stream,
+ subject=topic,
+ content=content,
+ read_by_sender=True,
+ )
self.client.send_message.assert_called_once_with(req)
assert result == return_value
| Pass new `read_by_sender` flag when sending messages
See https://zulip.com/api/send-message#parameter-read_by_sender and https://chat.zulip.org/#narrow/stream/378-api-design/topic/read_by_sender.20flag.20on.20send-message/near/1702407 for details. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response1-False]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response1-False]",
"tests/model/test_model.py::TestModel::test_send_stream_message[response0-True]",
"tests/model/test_model.py::TestModel::test_send_stream_message[response1-False]"
] | [
"tests/model/test_model.py::TestModel::test_init",
"tests/model/test_model.py::TestModel::test_init_user_settings[None-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[True-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[False-False]",
"tests/model/test_model.py::TestModel::test_user_settings_expected_contents",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:0]",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:1]",
"tests/model/test_model.py::TestModel::test_init_InvalidAPIKey_response",
"tests/model/test_model.py::TestModel::test_init_ZulipError_exception",
"tests/model/test_model.py::TestModel::test_register_initial_desired_events",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=0_no_stream_retention_realm_retention=None]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=10_no_stream_retention_realm_retention=None]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=16_no_stream_retention_realm_retention=-1]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=17_stream_retention_days=30]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=18_stream_retention_days=[None,",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-None]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-5]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow0-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow1-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow2-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow3-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow4-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow5-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow6-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow7-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow8-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow9-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow10-True]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow0-narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow1-narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow2-narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow3-narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow4-narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow5-narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow6-narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow0-index0-current_ids0]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow1-index1-current_ids1]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow2-index2-current_ids2]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow3-index3-current_ids3]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow4-index4-current_ids4]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow5-index5-current_ids5]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow6-index6-current_ids6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow7-index7-current_ids7]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow8-index8-current_ids8]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow9-index9-current_ids9]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow10-index10-current_ids10]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response0-expected_index0-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response1-expected_index1-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response2-expected_index2-Some",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index0-False]",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index1-True]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_invalid_emoji",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[id_inside_user_field__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[user_id_inside_user_field__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[start]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[stop]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_private_message_with_no_recipients",
"tests/model/test_model.py::TestModel::test_update_private_message[response0-True]",
"tests/model/test_model.py::TestModel::test_update_private_message[response1-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-152-True]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response0-return_value0]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response1-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response2-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response3-None]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_success_get_messages",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_4.0+_ZFL46_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_empty_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_with_subject_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_empty_subject_links]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_2.1.x_ZFL_0_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_3.1.x_ZFL_27_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_52_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_53_with_restrictions]",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__default_values",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__with_values",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_2.1_ZFL_0_hard_coded]",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_6.2_ZFL_157_hard_coded]",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_7.0_ZFL_164_server_provided]",
"tests/model/test_model.py::TestModel::test_get_message_false_first_anchor",
"tests/model/test_model.py::TestModel::test_fail_get_messages",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response0-Feels",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response1-None-True]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[muting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[unmuting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[first_muted_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[last_unmuted_205]",
"tests/model/test_model.py::TestModel::test_stream_access_type",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before0-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before1-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before2-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before3-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before4-remove]",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read_empty_message_view",
"tests/model/test_model.py::TestModel::test__update_initial_data",
"tests/model/test_model.py::TestModel::test__group_info_from_realm_user_groups",
"tests/model/test_model.py::TestModel::test__clean_and_order_custom_profile_data",
"tests/model/test_model.py::TestModel::test_get_user_info[user_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_moderator:Zulip_4.0+_ZFL60]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_member]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_3.0+]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_bot]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:Zulip_3.0+_ZFL1]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:preZulip_3.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_no_owner]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_has_custom_profile_data]",
"tests/model/test_model.py::TestModel::test_get_user_info_USER_NOT_FOUND",
"tests/model/test_model.py::TestModel::test_get_user_info_sample_response",
"tests/model/test_model.py::TestModel::test__update_users_data_from_initial_data",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted3]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_all_messages]",
"tests/model/test_model.py::TestModel::test__handle_message_event[private_to_all_private]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_stream]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_different_stream_same_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_appears_in_narrow_with_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[search]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_does_not_appear_in_narrow_without_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[mentioned_msg_in_mentioned_msg_narrow]",
"tests/model/test_model.py::TestModel::test__update_topic_index[reorder_topic3]",
"tests/model/test_model.py::TestModel::test__update_topic_index[topic1_discussion_continues]",
"tests/model/test_model.py::TestModel::test__update_topic_index[new_topic4]",
"tests/model/test_model.py::TestModel::test__update_topic_index[first_topic_1]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-False-private",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-False-private",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Only",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Subject",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Message",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Both",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Some",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[message_id",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_removed_due_to_topic_narrow_mismatch]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[previous_topic_narrow_empty_so_change_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[add]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[remove]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[add-2]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[remove-1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[pinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[unpinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[first_pinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[last_unpinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_disable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[first_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[last_notification_disable_205]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow_with_sender]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start_while_animation_in_progress]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:stop]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_18_in_home_view:already_unmuted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_in_home_view:muted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_19_in_home_view:already_muted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_in_home_view:unmuted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_30_is_muted:already_unmuted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_is_muted:muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_15_is_muted:already_muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_is_muted:unmuted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[pin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[unpin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[full_name]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[timezone]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[billing_admin_role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[avatar]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[display_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[delivery_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Short",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Long",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[List",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Date",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Person",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[External",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[True]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[False]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[True]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[False]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[True]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[False]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[muted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream_nostreamsmuted]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_enabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled_no_streams_to_notify]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic3-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic3-False]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_no_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_still_present_in_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_no_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_skipping_first_muted_stream_unread]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_muted]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_same_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_not_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_in_same_stream_wrap_around]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[streams_sorted_according_to_left_panel]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message__empty_narrow[unread_topics0-empty_narrow0-1-next_unread_topic0]",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_again",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_no_unread",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[stream_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[direct_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[non-existent",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[subscribed_stream]",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[unsubscribed_stream]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[unedited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[edited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_error[response0]",
"tests/model/test_model.py::TestModel::test_user_name_from_id_valid[1001-Human",
"tests/model/test_model.py::TestModel::test_user_name_from_id_invalid[-1]",
"tests/model/test_model.py::TestModel::test_generate_all_emoji_data",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_removed]",
"tests/model/test_model.py::TestModel::test_poll_for_events__no_disconnect",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_1st_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_2nd_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_3rd_attempt]"
] | {
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2024-01-12T04:51:40Z" | apache-2.0 |
|
zulip__zulip-terminal-1463 | diff --git a/zulipterminal/api_types.py b/zulipterminal/api_types.py
index 119770e..b341993 100644
--- a/zulipterminal/api_types.py
+++ b/zulipterminal/api_types.py
@@ -34,6 +34,14 @@ MAX_TOPIC_NAME_LENGTH: Final = 60
MAX_MESSAGE_LENGTH: Final = 10000
+###############################################################################
+# These values are in the register response from ZFL 164
+# Before this feature level, they had the listed default (fixed) values
+
+PRESENCE_OFFLINE_THRESHOLD_SECS: Final = 140
+PRESENCE_PING_INTERVAL_SECS: Final = 60
+
+
###############################################################################
# Core message types (used in Composition and Message below)
diff --git a/zulipterminal/model.py b/zulipterminal/model.py
index af0b846..72215c8 100644
--- a/zulipterminal/model.py
+++ b/zulipterminal/model.py
@@ -34,6 +34,8 @@ from zulipterminal.api_types import (
MAX_MESSAGE_LENGTH,
MAX_STREAM_NAME_LENGTH,
MAX_TOPIC_NAME_LENGTH,
+ PRESENCE_OFFLINE_THRESHOLD_SECS,
+ PRESENCE_PING_INTERVAL_SECS,
TYPING_STARTED_EXPIRY_PERIOD,
TYPING_STARTED_WAIT_PERIOD,
TYPING_STOPPED_WAIT_PERIOD,
@@ -81,9 +83,6 @@ from zulipterminal.platform_code import notify
from zulipterminal.ui_tools.utils import create_msg_box_list
-OFFLINE_THRESHOLD_SECS = 140
-
-
class ServerConnectionFailure(Exception):
pass
@@ -172,6 +171,8 @@ class Model:
self.server_version = self.initial_data["zulip_version"]
self.server_feature_level: int = self.initial_data.get("zulip_feature_level", 0)
+ self._store_server_presence_intervals()
+
self.user_dict: Dict[str, MinimalUserData] = {}
self.user_id_email_dict: Dict[int, str] = {}
self._all_users_by_id: Dict[int, RealmUser] = {}
@@ -445,7 +446,7 @@ class Model:
view = self.controller.view
view.users_view.update_user_list(user_list=self.users)
view.middle_column.update_message_list_status_markers()
- time.sleep(60)
+ time.sleep(self.server_presence_ping_interval_secs)
@asynch
def toggle_message_reaction(
@@ -814,6 +815,18 @@ class Model:
TYPING_STARTED_EXPIRY_PERIOD,
)
+ def _store_server_presence_intervals(self) -> None:
+ """
+ In ZFL 164, these values were added to the register response.
+ Uses default values if not received.
+ """
+ self.server_presence_offline_threshold_secs = self.initial_data.get(
+ "server_presence_offline_threshold_seconds", PRESENCE_OFFLINE_THRESHOLD_SECS
+ )
+ self.server_presence_ping_interval_secs = self.initial_data.get(
+ "server_presence_ping_interval_seconds", PRESENCE_PING_INTERVAL_SECS
+ )
+
@staticmethod
def modernize_message_response(message: Message) -> Message:
"""
@@ -1202,7 +1215,7 @@ class Model:
*
* Out of the ClientPresence objects found in `presence`, we
* consider only those with a timestamp newer than
- * OFFLINE_THRESHOLD_SECS; then of
+ * self.server_presence_offline_threshold_secs; then of
* those, return the one that has the greatest UserStatus, where
* `active` > `idle` > `offline`.
*
@@ -1216,7 +1229,9 @@ class Model:
timestamp = client[1]["timestamp"]
if client_name == "aggregated":
continue
- elif (time.time() - timestamp) < OFFLINE_THRESHOLD_SECS:
+ elif (
+ time.time() - timestamp
+ ) < self.server_presence_offline_threshold_secs:
if status == "active":
aggregate_status = "active"
if status == "idle" and aggregate_status != "active":
| zulip/zulip-terminal | d65cbee7406a3413946e78fb7fcff8ddc8875251 | diff --git a/tests/model/test_model.py b/tests/model/test_model.py
index 83ce9de..6b5a18e 100644
--- a/tests/model/test_model.py
+++ b/tests/model/test_model.py
@@ -14,6 +14,8 @@ from zulipterminal.model import (
MAX_MESSAGE_LENGTH,
MAX_STREAM_NAME_LENGTH,
MAX_TOPIC_NAME_LENGTH,
+ PRESENCE_OFFLINE_THRESHOLD_SECS,
+ PRESENCE_PING_INTERVAL_SECS,
TYPING_STARTED_EXPIRY_PERIOD,
TYPING_STARTED_WAIT_PERIOD,
TYPING_STOPPED_WAIT_PERIOD,
@@ -1440,6 +1442,60 @@ class TestModel:
assert model.typing_stopped_wait_period == typing_stopped_wait
assert model.typing_started_expiry_period == typing_started_expiry
+ @pytest.mark.parametrize(
+ "feature_level, to_vary_in_initial_data, "
+ "expected_offline_threshold, expected_presence_ping_interval",
+ [
+ (0, {}, PRESENCE_OFFLINE_THRESHOLD_SECS, PRESENCE_PING_INTERVAL_SECS),
+ (157, {}, PRESENCE_OFFLINE_THRESHOLD_SECS, PRESENCE_PING_INTERVAL_SECS),
+ (
+ 164,
+ {
+ "server_presence_offline_threshold_seconds": 200,
+ "server_presence_ping_interval_seconds": 100,
+ },
+ 200,
+ 100,
+ ),
+ ],
+ ids=[
+ "Zulip_2.1_ZFL_0_hard_coded",
+ "Zulip_6.2_ZFL_157_hard_coded",
+ "Zulip_7.0_ZFL_164_server_provided",
+ ],
+ )
+ def test__store_server_presence_intervals(
+ self,
+ model,
+ initial_data,
+ feature_level,
+ to_vary_in_initial_data,
+ expected_offline_threshold,
+ expected_presence_ping_interval,
+ ):
+ # Ensure inputs are not the defaults, to avoid the test accidentally passing
+ assert (
+ to_vary_in_initial_data.get("server_presence_offline_threshold_seconds")
+ != PRESENCE_OFFLINE_THRESHOLD_SECS
+ )
+ assert (
+ to_vary_in_initial_data.get("server_presence_ping_interval_seconds")
+ != PRESENCE_PING_INTERVAL_SECS
+ )
+
+ initial_data.update(to_vary_in_initial_data)
+ model.initial_data = initial_data
+ model.server_feature_level = feature_level
+
+ model._store_server_presence_intervals()
+
+ assert (
+ model.server_presence_offline_threshold_secs == expected_offline_threshold
+ )
+ assert (
+ model.server_presence_ping_interval_secs == expected_presence_ping_interval
+ )
+
def test_get_message_false_first_anchor(
self,
mocker,
| Support server-customized presence parameters
This is a fairly small migration in Zulip 7.0, server feature level 164 (https://zulip.com/api/changelog).
Quoting the changelog entry:
> [POST /register](https://zulip.com/api/register-queue): Added the server_presence_ping_interval_seconds and server_presence_offline_threshold_seconds fields for clients to use when implementing the [presence](https://zulip.com/api/get-presence) system.
Instead of hard-coded constants, we should therefore use these values provided by the server, falling back to the original constants when the server version is lower (when the keys in the response to register-queue are empty).
If tests are added or updated, note that they should likely be parametrized over different feature levels - see other tests which do so for comparisons. | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/model/test_model.py::TestModel::test_init",
"tests/model/test_model.py::TestModel::test_init_user_settings[None-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[True-True]",
"tests/model/test_model.py::TestModel::test_init_user_settings[False-False]",
"tests/model/test_model.py::TestModel::test_user_settings_expected_contents",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:0]",
"tests/model/test_model.py::TestModel::test_init_muted_topics[zulip_feature_level:1]",
"tests/model/test_model.py::TestModel::test_init_InvalidAPIKey_response",
"tests/model/test_model.py::TestModel::test_init_ZulipError_exception",
"tests/model/test_model.py::TestModel::test_register_initial_desired_events",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=0_no_stream_retention_realm_retention=None]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=10_no_stream_retention_realm_retention=None]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=16_no_stream_retention_realm_retention=-1]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=17_stream_retention_days=30]",
"tests/model/test_model.py::TestModel::test_normalize_and_cache_message_retention_text[ZFL=18_stream_retention_days=[None,",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow0-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow1-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow2-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow3-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow4-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow5-None]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-1]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-5]",
"tests/model/test_model.py::TestModel::test_get_focus_in_current_narrow_individually[narrow6-None]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow0-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow1-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow2-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow3-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow4-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow5-5]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-1]",
"tests/model/test_model.py::TestModel::test_set_focus_in_current_narrow[narrow6-5]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow0-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow1-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow2-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow3-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow4-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow5-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow6-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow7-False]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow8-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow9-True]",
"tests/model/test_model.py::TestModel::test_is_search_narrow[narrow10-True]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_bad_input[bad_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_already_set[narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow0-narrow0-good_args0]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow1-narrow1-good_args1]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow2-narrow2-good_args2]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow3-narrow3-good_args3]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow4-narrow4-good_args4]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow5-narrow5-good_args5]",
"tests/model/test_model.py::TestModel::test_set_narrow_not_already_set[initial_narrow6-narrow6-good_args6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow0-index0-current_ids0]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow1-index1-current_ids1]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow2-index2-current_ids2]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow3-index3-current_ids3]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow4-index4-current_ids4]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow5-index5-current_ids5]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow6-index6-current_ids6]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow7-index7-current_ids7]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow8-index8-current_ids8]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow9-index9-current_ids9]",
"tests/model/test_model.py::TestModel::test_get_message_ids_in_current_narrow[narrow10-index10-current_ids10]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response0-expected_index0-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response1-expected_index1-]",
"tests/model/test_model.py::TestModel::test__fetch_topics_in_streams[response2-expected_index2-Some",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index0-False]",
"tests/model/test_model.py::TestModel::test_topics_in_stream[topics_index1-True]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_realm_original_no_existing_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_zulip_original_mine_existing_different_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_original_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[add_unicode_alias_others_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_unicode_alias_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-user_id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-id]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_valid_emoji[remove_zulip_original_mine_existing_same_emoji-None]",
"tests/model/test_model.py::TestModel::test_toggle_message_reaction_with_invalid_emoji",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[id_inside_user_field__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[user_id_inside_user_field__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_has_reacted]",
"tests/model/test_model.py::TestModel::test_has_user_reacted_to_message[no_user_field_with_user_id__user_not_reacted]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_by_user_ids[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[start]",
"tests/model/test_model.py::TestModel::test_send_typing_status_with_no_recipients[stop]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[start-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids0]",
"tests/model/test_model.py::TestModel::test_send_typing_status_avoided_due_to_user_setting[stop-recipient_user_ids1]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients0-response1-False]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response0-True]",
"tests/model/test_model.py::TestModel::test_send_private_message[recipients1-response1-False]",
"tests/model/test_model.py::TestModel::test_send_private_message_with_no_recipients",
"tests/model/test_model.py::TestModel::test_send_stream_message[response0-True]",
"tests/model/test_model.py::TestModel::test_send_stream_message[response1-False]",
"tests/model/test_model.py::TestModel::test_update_private_message[response0-True]",
"tests/model/test_model.py::TestModel::test_update_private_message[response1-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[all]-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_passed_but_same_so_not_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[later]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[one]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_success]",
"tests/model/test_model.py::TestModel::test_update_stream_message[topic_changed[all]:content_changed-API_error]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args0-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args1-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args2-False-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args3-True-False-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args4-False-True-152-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-0-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-8-False]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-9-True]",
"tests/model/test_model.py::TestModel::test_update_stream_message__notify_thread_vs_ZFL[notify_args5-True-True-152-True]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response0-return_value0]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response1-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response2-None]",
"tests/model/test_model.py::TestModel::test_get_latest_message_in_topic[response3-None]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_msg_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_disabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[editing_topic_and_msg_enabled:PreZulip4.0-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[all_but_no_editing:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[admins:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[full_members:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[moderators:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-None-_]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role1-_owner]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role2-_admin]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role3-_moderator]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role4-_member]",
"tests/model/test_model.py::TestModel::test_can_user_edit_topic[guests:Zulip4.0+:ZFL75-user_role5-_guest]",
"tests/model/test_model.py::TestModel::test_success_get_messages",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_4.0+_ZFL46_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_with_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_3.0+_ZFL1_response_empty_topic_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_with_subject_links]",
"tests/model/test_model.py::TestModel::test_modernize_message_response[Zulip_2.1+_response_empty_subject_links]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_2.1.x_ZFL_0_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_3.1.x_ZFL_27_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_52_no_restrictions]",
"tests/model/test_model.py::TestModel::test__store_content_length_restrictions[Zulip_4.0.x_ZFL_53_with_restrictions]",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__default_values",
"tests/model/test_model.py::TestModel::test__store_typing_duration_settings__with_values",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_2.1_ZFL_0_hard_coded]",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_6.2_ZFL_157_hard_coded]",
"tests/model/test_model.py::TestModel::test__store_server_presence_intervals[Zulip_7.0_ZFL_164_server_provided]",
"tests/model/test_model.py::TestModel::test_get_message_false_first_anchor",
"tests/model/test_model.py::TestModel::test_fail_get_messages",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response0-Feels",
"tests/model/test_model.py::TestModel::test_fetch_raw_message_content[response1-None-True]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[muting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[unmuting_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[first_muted_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_muted_status[last_unmuted_205]",
"tests/model/test_model.py::TestModel::test_stream_access_type",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before0-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before1-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before2-add]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before3-remove]",
"tests/model/test_model.py::TestModel::test_toggle_message_star_status[flags_before4-remove]",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read",
"tests/model/test_model.py::TestModel::test_mark_message_ids_as_read_empty_message_view",
"tests/model/test_model.py::TestModel::test__update_initial_data",
"tests/model/test_model.py::TestModel::test__group_info_from_realm_user_groups",
"tests/model/test_model.py::TestModel::test__clean_and_order_custom_profile_data",
"tests/model/test_model.py::TestModel::test_get_user_info[user_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_full_name]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_email]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_date_joined]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_timezone]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_empty_bot_type]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_moderator:Zulip_4.0+_ZFL60]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:Zulip_4.0+_ZFL59]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_member]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_owner:Zulip_3.0+]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_admin:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_guest:preZulip_4.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_is_bot]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:Zulip_3.0+_ZFL1]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_owner:preZulip_3.0]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_bot_has_no_owner]",
"tests/model/test_model.py::TestModel::test_get_user_info[user_has_custom_profile_data]",
"tests/model/test_model.py::TestModel::test_get_user_info_USER_NOT_FOUND",
"tests/model/test_model.py::TestModel::test_get_user_info_sample_response",
"tests/model/test_model.py::TestModel::test__update_users_data_from_initial_data",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled0-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled1-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled2-muted3]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted0]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted1]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted2]",
"tests/model/test_model.py::TestModel::test__subscribe_to_streams[visual_notification_enabled3-muted3]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_Falsey_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_valid_log[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[stream_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event_with_flags[group_pm_message]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_all_messages]",
"tests/model/test_model.py::TestModel::test__handle_message_event[private_to_all_private]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_stream]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[stream_to_different_stream_same_topic]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_appears_in_narrow_with_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[search]",
"tests/model/test_model.py::TestModel::test__handle_message_event[user_pm_x_does_not_appear_in_narrow_without_x]",
"tests/model/test_model.py::TestModel::test__handle_message_event[mentioned_msg_in_mentioned_msg_narrow]",
"tests/model/test_model.py::TestModel::test__update_topic_index[reorder_topic3]",
"tests/model/test_model.py::TestModel::test__update_topic_index[topic1_discussion_continues]",
"tests/model/test_model.py::TestModel::test__update_topic_index[new_topic4]",
"tests/model/test_model.py::TestModel::test__update_topic_index[first_topic_1]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[stream_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-not_notified_since_self_message]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_directly_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_and_private_since_wildcard_mentioned]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_stream_since_stream_has_desktop_notifications]",
"tests/model/test_model.py::TestModel::test_notify_users_calling_msg_type[group_pm_message-notified_private_since_private_message]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[stream_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-simple_text]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_with_title]",
"tests/model/test_model.py::TestModel::test_notify_user_transformed_content[group_pm_message-spoiler_no_title]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[stream_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-True-True]",
"tests/model/test_model.py::TestModel::test_notify_users_enabled[group_pm_message-False-False]",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[pm_template-False-private",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-True-New",
"tests/model/test_model.py::TestModel::test_notify_users_hides_PM_content_based_on_user_setting[group_pm_template-False-private",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Only",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Subject",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Message",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Both",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[Some",
"tests/model/test_model.py::TestModel::test__handle_update_message_event[message_id",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_removed_due_to_topic_narrow_mismatch]",
"tests/model/test_model.py::TestModel::test__update_rendered_view[msgbox_updated_in_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_topic_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[previous_topic_narrow_empty_so_change_narrow]",
"tests/model/test_model.py::TestModel::test__update_rendered_view_change_narrow[same_all_messages_narrow]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[add]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_not_in_index[remove]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[add-2]",
"tests/model/test_model.py::TestModel::test__handle_reaction_event_for_msg_in_index[remove-1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_no_index[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation0]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation1]",
"tests/model/test_model.py::TestModel::test_update_star_status_invalid_operation[update_message_flags_operation2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation0-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation1-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-add-1-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_star_status[update_message_flags_operation2-remove--1-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation0-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation1-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before0-flags_after0-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before1-flags_after1-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before2-flags_after2-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-add-flags_before3-flags_after3-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before4-flags_after4-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before5-flags_after5-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before6-flags_after6-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before7-flags_after7-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids0-indexed_ids0]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids1-indexed_ids1]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids2-indexed_ids2]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids3-indexed_ids3]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids4-indexed_ids4]",
"tests/model/test_model.py::TestModel::test_update_read_status[update_message_flags_operation2-remove-flags_before8-flags_after8-event_message_ids5-indexed_ids5]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[pinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[unpinning]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[first_pinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_pinned_status[last_unpinned]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[visual_notification_disable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[first_notification_enable_205]",
"tests/model/test_model.py::TestModel::test_toggle_stream_visual_notifications[last_notification_disable_205]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[not_in_pm_narrow_with_sender]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:start_while_animation_in_progress]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_sender_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_other_myself_typing:stop]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:start]",
"tests/model/test_model.py::TestModel::test__handle_typing_event[in_pm_narrow_with_oneself:stop]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_18_in_home_view:already_unmuted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_in_home_view:muted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_19_in_home_view:already_muted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_in_home_view:unmuted:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_30_is_muted:already_unmuted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[remove_19_is_muted:muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_15_is_muted:already_muted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_mute_streams[add_30_is_muted:unmuted:ZFL139]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[pin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_pin_streams[unpin_stream]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[remove_visual_notified_stream_15:not_present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_visual_notifications[add_visual_notified_stream_19:present]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL0]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers[user_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_subscribed_to_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_to_unsubscribed_streams[peer_unsubscribed_from_stream_that_user_is_unsubscribed_to:ZFL35+]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_subscribed_to_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_multiple_users_one_stream[users_unsubscribed_from_stream:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_subscribed_to_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL34_should_be_35]",
"tests/model/test_model.py::TestModel::test__handle_subscription_event_subscribers_one_user_multiple_streams[user_unsubscribed_from_streams:ZFL35]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[full_name]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[timezone]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[billing_admin_role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[role]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[avatar]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[display_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__general[delivery_email]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Short",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Long",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[List",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Date",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Link-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Person",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[External",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__update_data[Pronouns-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-no_custom]",
"tests/model/test_model.py::TestModel::test__handle_realm_user_event__custom_profile_data__remove_data[update_data0-8-many_custom]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[True]",
"tests/model/test_model.py::TestModel::test__handle_user_settings_event[False]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[True]",
"tests/model/test_model.py::TestModel::test_update_pm_content_in_desktop_notifications[False]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[True]",
"tests/model/test_model.py::TestModel::test_update_twenty_four_hour_format[False]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[muted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream]",
"tests/model/test_model.py::TestModel::test_is_muted_stream[unmuted_stream_nostreamsmuted]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_enabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled]",
"tests/model/test_model.py::TestModel::test_is_visual_notifications_enabled[notifications_disabled_no_streams_to_notify]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:0-topic3-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic0-False]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic1-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic2-True]",
"tests/model/test_model.py::TestModel::test_is_muted_topic[zulip_feature_level:1-topic3-False]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_no_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_still_present_in_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[no_unreads_with_no_previous_topic_state]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_before_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_skipping_first_muted_stream_unread]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_starting_in_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_only_in_muted_topic_in_muted_stream]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_skipping_muted_topic]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_after_previous_topic_muted]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_same_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unmuted_unread_not_present_in_next_stream_as_current_topic_not_in_unread_list]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[unread_present_in_same_stream_wrap_around]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message[streams_sorted_according_to_left_panel]",
"tests/model/test_model.py::TestModel::test_next_unread_topic_from_message__empty_narrow[unread_topics0-empty_narrow0-1-next_unread_topic0]",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_again",
"tests/model/test_model.py::TestModel::test_get_next_unread_pm_no_unread",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[stream_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[direct_message]",
"tests/model/test_model.py::TestModel::test_stream_topic_from_message_id[non-existent",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[subscribed_stream]",
"tests/model/test_model.py::TestModel::test_is_user_subscribed_to_stream[unsubscribed_stream]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[unedited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_success[edited_message-response0]",
"tests/model/test_model.py::TestModel::test_fetch_message_history_error[response0]",
"tests/model/test_model.py::TestModel::test_user_name_from_id_valid[1001-Human",
"tests/model/test_model.py::TestModel::test_user_name_from_id_invalid[-1]",
"tests/model/test_model.py::TestModel::test_generate_all_emoji_data",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_same_name_as_unicode_emoji_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_with_name_as_zulip_removed]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_added]",
"tests/model/test_model.py::TestModel::test__handle_update_emoji_event[realm_emoji_removed]",
"tests/model/test_model.py::TestModel::test_poll_for_events__no_disconnect",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_1st_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_2nd_attempt]",
"tests/model/test_model.py::TestModel::test_poll_for_events__reconnect_ok[reconnect_on_3rd_attempt]"
] | [] | {
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2024-01-21T15:35:09Z" | apache-2.0 |
|
zulip__zulip-terminal-1468 | diff --git a/zulipterminal/ui_tools/messages.py b/zulipterminal/ui_tools/messages.py
index 1a9bb9d..3ddfa10 100644
--- a/zulipterminal/ui_tools/messages.py
+++ b/zulipterminal/ui_tools/messages.py
@@ -1045,12 +1045,12 @@ class MessageBox(urwid.Pile):
# the time limit. A limit of 0 signifies no limit
# on message body editing.
msg_body_edit_enabled = True
- if self.model.initial_data["realm_message_content_edit_limit_seconds"] > 0:
+ edit_time_limit = self.model.initial_data[
+ "realm_message_content_edit_limit_seconds"
+ ]
+ if edit_time_limit is not None and edit_time_limit > 0:
if self.message["sender_id"] == self.model.user_id:
time_since_msg_sent = time() - self.message["timestamp"]
- edit_time_limit = self.model.initial_data[
- "realm_message_content_edit_limit_seconds"
- ]
# Don't allow editing message body if time-limit exceeded.
if time_since_msg_sent >= edit_time_limit:
if self.message["type"] == "private":
| zulip/zulip-terminal | da84485cfc011c13e4177cc56442eeb04d83302d | diff --git a/tests/ui_tools/test_messages.py b/tests/ui_tools/test_messages.py
index d4d9e80..8deb4eb 100644
--- a/tests/ui_tools/test_messages.py
+++ b/tests/ui_tools/test_messages.py
@@ -1301,7 +1301,16 @@ class TestMessageBox:
{"stream": True, "private": True},
{"stream": True, "private": True},
{"stream": None, "private": None},
- id="no_msg_body_edit_limit",
+ id="no_msg_body_edit_limit:ZFL<138",
+ ),
+ case(
+ {"sender_id": 1, "timestamp": 1, "subject": "test"},
+ True,
+ None,
+ {"stream": True, "private": True},
+ {"stream": True, "private": True},
+ {"stream": None, "private": None},
+ id="no_msg_body_edit_limit:ZFL>=138",
),
case(
{"sender_id": 1, "timestamp": 1, "subject": "(no topic)"},
@@ -1352,7 +1361,16 @@ class TestMessageBox:
{"stream": True, "private": True},
{"stream": True, "private": True},
{"stream": None, "private": None},
- id="no_msg_body_edit_limit_with_no_topic",
+ id="no_msg_body_edit_limit_with_no_topic:ZFL<138",
+ ),
+ case(
+ {"sender_id": 1, "timestamp": 45, "subject": "(no topic)"},
+ True,
+ None,
+ {"stream": True, "private": True},
+ {"stream": True, "private": True},
+ {"stream": None, "private": None},
+ id="no_msg_body_edit_limit_with_no_topic:ZFL>=138",
),
],
)
| [bug] crash when editing message
Server: Zulip cloud server
Client: main branch
Python: 3.11
self.model.initial_data: `{'zulip_version': '9.0-dev-642-g9d469357ea', 'zulip_feature_level': 237, 'zulip_merge_base': '9.0-dev-605-g47a5459637', 'realm_message_content_edit_limit_seconds': None}`
log:
```
Traceback (most recent call last):
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/cli/run.py", line 578, in main
).main()
^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/core.py", line 691, in main
self.loop.run()
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 287, in run
self._run()
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 385, in _run
self.event_loop.run()
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 790, in run
self._loop()
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 827, in _loop
self._watch_files[fd]()
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/raw_display.py", line 416, in <lambda>
wrapper = lambda: self.parse_input(
^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/raw_display.py", line 515, in parse_input
callback(processed, processed_codes)
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 412, in _update
self.process_input(keys)
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/main_loop.py", line 513, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/ui.py", line 324, in keypress
return super().keypress(size, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/container.py", line 1135, in keypress
return self.body.keypress( (maxcol, remaining), key )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/container.py", line 2316, in keypress
key = w.keypress((mc,) + size[1:], key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/container.py", line 1626, in keypress
key = self.focus.keypress(tsize, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/container.py", line 2316, in keypress
key = w.keypress((mc,) + size[1:], key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/ui_tools/views.py", line 651, in keypress
return super().keypress(size, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/container.py", line 1135, in keypress
return self.body.keypress( (maxcol, remaining), key )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/ui_tools/views.py", line 249, in keypress
key = super().keypress(size, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/urwid/listbox.py", line 968, in keypress
key = focus_widget.keypress((maxcol,),key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zulip-term/lib/python3.11/site-packages/zulipterminal/ui_tools/messages.py", line 1048, in keypress
if self.model.initial_data["realm_message_content_edit_limit_seconds"] > 0:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'NoneType' and 'int'
``` | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit:ZFL>=138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit_with_no_topic:ZFL>=138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit:ZFL>=138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit_with_no_topic:ZFL>=138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit:ZFL>=138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit_with_no_topic:ZFL>=138-e]"
] | [
"tests/ui_tools/test_messages.py::TestMessageBox::test_init[stream-set_fields0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_init[private-set_fields1]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_init_fails_with_bad_message_type",
"tests/ui_tools/test_messages.py::TestMessageBox::test_private_message_to_self",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[empty]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[p]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[user-mention]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h1]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h3]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h4]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h5]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[h6]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[group-mention]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[topic-mention]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline-code]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-code]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-code-old]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-plain-text-codeblock]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[codehilite-plain-text-codeblock-old]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[strong]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[em]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[blockquote]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[embedded_content]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_two]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_samelinkdifferentname]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_duplicatelink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_trailingslash]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_trailingslashduplicatelink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_sametext]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_sameimage]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_differenttext]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_userupload]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_api]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_serverrelative_same]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_textwithoutscheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[link_differentscheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[empty_li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_with_li_p_newline]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[two_li]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[two_li_with_li_p_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_nested]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[li_heavily_nested]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[br]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[br2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[hr]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[hr2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[img]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[img2]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_default]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_left_and_right_alignments]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_center_and_right_alignments]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_single_column]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[table_with_the_bare_minimum]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[time_human_readable_input]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[time_UNIX_timestamp_input]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[katex_HTML_response_math_fenced_markdown]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[katex_HTML_response_double_$_fenced_markdown]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ul]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ul_with_ul_li_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol_with_ol_li_newlines]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[ol_starting_at_5]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[strikethrough_del]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline_image]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[inline_ref]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[preview-twitter]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[zulip_extra_emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_soup2markup[custom_emoji]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view[message0-None]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view[message1-None]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_renders_slash_me[<p>/me",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_renders_slash_me[<p>This",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[different_stream_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[different_topic_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_stream_header[PM_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_PM_header[larger_pm_group-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_PM_header[stream_before-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow0-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow1-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow2-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow3-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow4-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow5-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow6-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow7-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow8-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow9-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow10-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow11-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow12-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow13-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow14-0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow15-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow16-2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_msg_generates_search_and_header_bar[msg_narrow17-1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[show_author_as_authors_different-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[merge_messages_as_only_slightly_earlier_message-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-this_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-last_starred-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2018-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2019-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_content_header_without_header[dont_merge_messages_as_much_earlier_message-no_stars-now_2050-message0]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[stream_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[pm_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_author]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_early_timestamp]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-common_unchanged_message]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_compact_output[group_pm_message-both_starred]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_main_view_generates_EDITED_label",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[stream_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[stream_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[pm_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[pm_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[group_pm_message-author_field_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_update_message_author_status[group_pm_message-author_field_not_present]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[all_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[stream_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[topic_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[private_conversation_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[starred_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[mentions_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_STREAM_MESSAGE[private_messages_narrow-c]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[stream_message-no_msg_body_edit_limit_with_no_topic:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[pm_message-no_msg_body_edit_limit_with_no_topic:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_other_user_with_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-topic_edit_only_after_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_not_allowed-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_allowed_and_within_time_limit-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_me_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-msg_sent_by_other_with_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-realm_editing_not_allowed_for_no_topic-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_keypress_EDIT_MESSAGE[group_pm_message-no_msg_body_edit_limit_with_no_topic:ZFL<138-e]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[quoted",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[multi-line",
"tests/ui_tools/test_messages.py::TestMessageBox::test_transform_content[quoting",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[stream_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[pm_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message0-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message1-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message2-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message3-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_reactions_view[group_pm_message-to_vary_in_each_message4-",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[one_footlink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[more_than_one_footlink]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[similar_link_and_text]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[different_link_and_text]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_view[http_default_scheme]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[0-NoneType]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[1-Padding]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_footlinks_limit[3-Padding]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_mouse_event_left_click[ignore_mouse_click-left_click-key:enter]",
"tests/ui_tools/test_messages.py::TestMessageBox::test_mouse_event_left_click[handle_mouse_click-left_click-key:enter]"
] | {
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true
} | "2024-02-07T10:09:18Z" | apache-2.0 |
|
zulip__zulip-terminal-1472 | diff --git a/zulipterminal/core.py b/zulipterminal/core.py
index ddc7e89..1e11354 100644
--- a/zulipterminal/core.py
+++ b/zulipterminal/core.py
@@ -414,11 +414,14 @@ class Controller:
# Suppress stdout and stderr when opening browser
with suppress_output():
browser_controller.open(url)
+
+ # MacOS using Python version < 3.11 has no "name" attribute
+ # - https://github.com/python/cpython/issues/82828
+ # - https://github.com/python/cpython/issues/87590
+ # Use a default value if missing, for macOS, and potential later issues
+ browser_name = getattr(browser_controller, "name", "default browser")
self.report_success(
- [
- "The link was successfully opened using "
- f"{browser_controller.name}"
- ]
+ [f"The link was successfully opened using {browser_name}"]
)
except webbrowser.Error as e:
# Set a footer text if no runnable browser is located
| zulip/zulip-terminal | b71aec23f78c487506e86bbd5a89b90c5b3d61ec | diff --git a/tests/core/test_core.py b/tests/core/test_core.py
index 033f126..be05d49 100644
--- a/tests/core/test_core.py
+++ b/tests/core/test_core.py
@@ -406,15 +406,24 @@ class TestController:
assert popup.call_args_list[0][0][1] == "area:error"
@pytest.mark.parametrize(
- "url",
+ "url, webbrowser_name, expected_webbrowser_name",
[
- "https://chat.zulip.org/#narrow/stream/test",
- "https://chat.zulip.org/user_uploads/sent/abcd/efg.png",
- "https://github.com/",
+ ("https://chat.zulip.org/#narrow/stream/test", "chrome", "chrome"),
+ (
+ "https://chat.zulip.org/user_uploads/sent/abcd/efg.png",
+ "mozilla",
+ "mozilla",
+ ),
+ ("https://github.com/", None, "default browser"),
],
)
def test_open_in_browser_success(
- self, mocker: MockerFixture, controller: Controller, url: str
+ self,
+ mocker: MockerFixture,
+ controller: Controller,
+ url: str,
+ webbrowser_name: Optional[str],
+ expected_webbrowser_name: str,
) -> None:
# Set DISPLAY environ to be able to run test in CI
os.environ["DISPLAY"] = ":0"
@@ -422,11 +431,16 @@ class TestController:
mock_get = mocker.patch(MODULE + ".webbrowser.get")
mock_open = mock_get.return_value.open
+ if webbrowser_name is None:
+ del mock_get.return_value.name
+ else:
+ mock_get.return_value.name = webbrowser_name
+
controller.open_in_browser(url)
mock_open.assert_called_once_with(url)
mocked_report_success.assert_called_once_with(
- [f"The link was successfully opened using {mock_get.return_value.name}"]
+ [f"The link was successfully opened using {expected_webbrowser_name}"]
)
def test_open_in_browser_fail__no_browser_controller(
| ZT Crashes when viewing a message in browser in MacOS.
<img width="1031" alt="Screenshot 2024-02-15 at 9 44 55 PM" src="https://github.com/zulip/zulip-terminal/assets/71403193/deeadd45-decb-42f5-880c-30f709268a29">
ZT crashes when viewing a message in browser on MacOS.
My OS version = Ventura 13.6
Python version = 3.9
This might be a problem for other OS too.
## Steps to replicate:
1. Open ZT
2. Open message information popup
3. Select `open in web browser` | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://github.com/-None-default"
] | [
"tests/core/test_core.py::TestController::test_initialize_controller",
"tests/core/test_core.py::TestController::test_initial_editor_mode",
"tests/core/test_core.py::TestController::test_current_editor_error_if_no_editor",
"tests/core/test_core.py::TestController::test_editor_mode_entered_from_initial",
"tests/core/test_core.py::TestController::test_editor_mode_error_on_multiple_enter",
"tests/core/test_core.py::TestController::test_editor_mode_exits_after_entering",
"tests/core/test_core.py::TestController::test_narrow_to_stream",
"tests/core/test_core.py::TestController::test_narrow_to_topic[all-messages_to_topic_narrow_no_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_topic[topic_narrow_to_same_topic_narrow_with_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_topic[topic_narrow_to_same_topic_narrow_with_other_anchor]",
"tests/core/test_core.py::TestController::test_narrow_to_user",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[None-537288]",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[537286-537286]",
"tests/core/test_core.py::TestController::test_narrow_to_all_messages[537288-537288]",
"tests/core/test_core.py::TestController::test_narrow_to_all_pm",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred0]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred1]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred2]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred3]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred4]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred5]",
"tests/core/test_core.py::TestController::test_narrow_to_all_starred[index_all_starred6]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream_mention__stream_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+pm_mention__no_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[no_mention__stream+pm_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+group_mention__pm_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[pm_mention__stream+group_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[group_mention__all_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[all_mention__stream_wildcard]",
"tests/core/test_core.py::TestController::test_narrow_to_all_mentions[stream+group_mention__wildcard]",
"tests/core/test_core.py::TestController::test_copy_to_clipboard_no_exception[copy",
"tests/core/test_core.py::TestController::test_copy_to_clipboard_exception",
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://chat.zulip.org/#narrow/stream/test-chrome-chrome]",
"tests/core/test_core.py::TestController::test_open_in_browser_success[https://chat.zulip.org/user_uploads/sent/abcd/efg.png-mozilla-mozilla]",
"tests/core/test_core.py::TestController::test_open_in_browser_fail__no_browser_controller",
"tests/core/test_core.py::TestController::test_main",
"tests/core/test_core.py::TestController::test_stream_muting_confirmation_popup[muted_streams0-unmuting]",
"tests/core/test_core.py::TestController::test_stream_muting_confirmation_popup[muted_streams1-muting]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids0-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids1-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-Default_all_msg_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-redo_default_search]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-search_within_stream]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-pm_search_again]",
"tests/core/test_core.py::TestController::test_search_message[msg_ids2-search_within_topic_narrow]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[above_linear_range]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[in_linear_range]",
"tests/core/test_core.py::TestController::test_maximum_popup_dimensions[below_linear_range]",
"tests/core/test_core.py::TestController::test_show_typing_notification[in_pm_narrow_with_sender_typing:start]",
"tests/core/test_core.py::TestController::test_show_typing_notification[in_pm_narrow_with_sender_typing:stop]"
] | {
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true
} | "2024-02-15T16:45:06Z" | apache-2.0 |
|
zwicker-group__py-pde-435 | diff --git a/pde/storage/base.py b/pde/storage/base.py
index 10ec98c..d5d12aa 100644
--- a/pde/storage/base.py
+++ b/pde/storage/base.py
@@ -266,18 +266,30 @@ class StorageBase(metaclass=ABCMeta):
@fill_in_docstring
def tracker(
- self, interval: Union[int, float, InterruptsBase] = 1
+ self,
+ interval: Union[int, float, InterruptsBase] = 1,
+ *,
+ transformation: Optional[Callable[[FieldBase, float], FieldBase]] = None,
) -> "StorageTracker":
"""create object that can be used as a tracker to fill this storage
Args:
interval:
{ARG_TRACKER_INTERVAL}
+ transformation (callable, optional):
+ A function that transforms the current state into a new field or field
+ collection, which is then stored. This allows to store derived
+ quantities of the field during calculations. The argument needs to be a
+ callable function taking 1 or 2 arguments. The first argument always is
+ the current field, while the optional second argument is the associated
+ time.
Returns:
:class:`StorageTracker`: The tracker that fills the current storage
"""
- return StorageTracker(storage=self, interval=interval)
+ return StorageTracker(
+ storage=self, interval=interval, transformation=transformation
+ )
def start_writing(self, field: FieldBase, info: Optional[InfoDict] = None) -> None:
"""initialize the storage for writing data
@@ -494,16 +506,41 @@ class StorageTracker(TrackerBase):
"""
@fill_in_docstring
- def __init__(self, storage, interval: IntervalData = 1):
+ def __init__(
+ self,
+ storage,
+ interval: IntervalData = 1,
+ *,
+ transformation: Optional[Callable[[FieldBase, float], FieldBase]] = None,
+ ):
"""
Args:
storage (:class:`~pde.storage.base.StorageBase`):
Storage instance to which the data is written
interval:
{ARG_TRACKER_INTERVAL}
+ transformation (callable, optional):
+ A function that transforms the current state into a new field or field
+ collection, which is then stored. This allows to store derived
+ quantities of the field during calculations. The argument needs to be a
+ callable function taking 1 or 2 arguments. The first argument always is
+ the current field, while the optional second argument is the associated
+ time.
"""
super().__init__(interval=interval)
self.storage = storage
+ if transformation is not None and not callable(transformation):
+ raise TypeError("`transformation` must be callable")
+ self.transformation = transformation
+
+ def _transform(self, field: FieldBase, t: float) -> FieldBase:
+ """transforms the field according to the defined transformation"""
+ if self.transformation is None:
+ return field
+ elif self.transformation.__code__.co_argcount == 1:
+ return self.transformation(field) # type: ignore
+ else:
+ return self.transformation(field, t)
def initialize(self, field: FieldBase, info: Optional[InfoDict] = None) -> float:
"""
@@ -517,7 +554,7 @@ class StorageTracker(TrackerBase):
float: The first time the tracker needs to handle data
"""
result = super().initialize(field, info)
- self.storage.start_writing(field, info)
+ self.storage.start_writing(self._transform(field, 0), info)
return result
def handle(self, field: FieldBase, t: float) -> None:
@@ -528,7 +565,7 @@ class StorageTracker(TrackerBase):
The current state of the simulation
t (float): The associated time
"""
- self.storage.append(field, time=t)
+ self.storage.append(self._transform(field, t), time=t)
def finalize(self, info: Optional[InfoDict] = None) -> None:
"""finalize the tracker, supplying additional information
diff --git a/pde/storage/file.py b/pde/storage/file.py
index 8e871be..0fcc798 100644
--- a/pde/storage/file.py
+++ b/pde/storage/file.py
@@ -9,7 +9,7 @@ from __future__ import annotations
import json
import logging
from pathlib import Path
-from typing import Any, Optional, Tuple # @UnusedImport
+from typing import Any, Optional, Tuple
import numpy as np
from numpy.typing import DTypeLike
@@ -26,8 +26,8 @@ class FileStorage(StorageBase):
def __init__(
self,
filename: str,
- info: Optional[InfoDict] = None,
*,
+ info: Optional[InfoDict] = None,
write_mode: str = "truncate_once",
max_length: Optional[int] = None,
compression: bool = True,
diff --git a/pde/storage/memory.py b/pde/storage/memory.py
index 51aa264..aa4e9bc 100644
--- a/pde/storage/memory.py
+++ b/pde/storage/memory.py
@@ -23,8 +23,9 @@ class MemoryStorage(StorageBase):
self,
times: Optional[Sequence[float]] = None,
data: Optional[List[np.ndarray]] = None,
- field_obj: Optional[FieldBase] = None,
+ *,
info: Optional[InfoDict] = None,
+ field_obj: Optional[FieldBase] = None,
write_mode: str = "truncate_once",
):
"""
diff --git a/pde/tools/numba.py b/pde/tools/numba.py
index af8c50b..39158d0 100644
--- a/pde/tools/numba.py
+++ b/pde/tools/numba.py
@@ -106,7 +106,7 @@ def numba_environment() -> Dict[str, Any]:
threading_layer = nb.threading_layer()
except ValueError:
# threading layer was not initialized, so compile a mock function
- @nb.jit("i8()", parallel=True)
+ @nb.njit("i8()", parallel=True)
def f():
s = 0
for i in nb.prange(4):
| zwicker-group/py-pde | 95932603a3b15d44c4f5ef6c76ed6ab463d8aa44 | diff --git a/tests/storage/test_generic_storages.py b/tests/storage/test_generic_storages.py
index a8da6d6..465659d 100644
--- a/tests/storage/test_generic_storages.py
+++ b/tests/storage/test_generic_storages.py
@@ -258,3 +258,45 @@ def test_storage_mpi(storage_factory):
if mpi.is_main:
assert res.integral == pytest.approx(field.integral)
assert len(storage) == 11
+
+
[email protected]("storage_class", STORAGE_CLASSES)
+def test_storing_transformation_collection(storage_factory):
+ """test transformation yielding field collections in storage classes"""
+ grid = UnitGrid([8])
+ field = ScalarField.random_normal(grid).smooth(1)
+
+ def trans1(field, t):
+ return FieldCollection([field, 2 * field + t])
+
+ storage = storage_factory()
+ eq = DiffusionPDE()
+ trackers = [storage.tracker(0.01, transformation=trans1)]
+ eq.solve(
+ field,
+ t_range=0.1,
+ dt=0.001,
+ backend="numpy",
+ tracker=trackers,
+ )
+
+ assert storage.has_collection
+ for t, sol in storage.items():
+ a, a2 = sol
+ np.testing.assert_allclose(a2.data, 2 * a.data + t)
+
+
[email protected]("storage_class", STORAGE_CLASSES)
+def test_storing_transformation_scalar(storage_factory):
+ """test transformations yielding scalar fields in storage classes"""
+ grid = UnitGrid([8])
+ field = ScalarField.random_normal(grid).smooth(1)
+
+ storage = storage_factory()
+ eq = DiffusionPDE(diffusivity=0)
+ trackers = [storage.tracker(0.01, transformation=lambda f: f**2)]
+ eq.solve(field, t_range=0.1, dt=0.001, backend="numpy", tracker=trackers)
+
+ assert not storage.has_collection
+ for sol in storage:
+ np.testing.assert_allclose(sol.data, field.data**2)
| Add option for transformer function to `StorageTracker`
`StorageTracker` should not only be able to store the actual fields of the simulations, but also some derived fields. The idea would be to add an argument to the StoragerTracker which could take a function that computes a field or field collection based on the current state and time. The default would be to simply forward the field.
The idea was raised in #433 | 0 | 2401580b6f41fe72f1360493ee46e8a842bd04ba | [
"tests/storage/test_generic_storages.py::test_storing_transformation_scalar[MemoryStorage]"
] | [
"tests/storage/test_generic_storages.py::test_storage_write[MemoryStorage]",
"tests/storage/test_generic_storages.py::test_storage_truncation",
"tests/storage/test_generic_storages.py::test_storing_extract_range[MemoryStorage]",
"tests/storage/test_generic_storages.py::test_storage_copy[MemoryStorage]",
"tests/storage/test_generic_storages.py::test_storage_copy[None]",
"tests/storage/test_generic_storages.py::test_storage_types[bool-MemoryStorage]",
"tests/storage/test_generic_storages.py::test_storage_types[complex-MemoryStorage]"
] | {
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false
} | "2023-06-28T14:36:43Z" | mit |