Skip to content

Commit

Permalink
refactor: test_popups/test_model/CHANGELOG: Spelling improvements.
Browse files Browse the repository at this point in the history
- test_popups: Test name
- test_mdoel: Test id has two words together, not separated by `_`
              (originally from 7efaaf9)
- CHANGELOG: Entry from 0.6.0 release
  • Loading branch information
neiljp committed Mar 16, 2023
1 parent 182dfdc commit 8331795
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ While not composed of as many significant changes as 0.5.0, this is a meaningful
- Support nested lists (bulleted and numbered)
- Style reaction counts which include yourself differently (inverted colors, typically)
- Sort reactions alphabetically for consistency
- Support color depths other than 256-colors; try --color-depth=1 for a retro, high-constrast experience!
- Support color depths other than 256-colors; try --color-depth=1 for a retro, high-contrast experience!
- Improve specificity of colors in default theme, enhancing rendering and consistency in 256 color mode
- Use triangle symbol (▶) to separate streams and topics, instead of simply '>'
- The 'bar' extending from topics or private message recipients is now thinner and colored if a stream
Expand Down
12 changes: 6 additions & 6 deletions tests/model/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3295,11 +3295,11 @@ def test__handle_subscription_event_visual_notifications(
ids=[
"user_subscribed_to_stream:ZFLNone",
"user_subscribed_to_stream:ZFL34",
"user_subscribed_to_stream:ZFL34shouldbe35",
"user_subscribed_to_stream:ZFL34_should_be_35",
"user_subscribed_to_stream:ZFL35",
"user_unsubscribed_from_stream:ZFLNone",
"user_unsubscribed_from_stream:ZFL34",
"user_unsubscribed_from_stream:ZFL34shouldbe35",
"user_unsubscribed_from_stream:ZFL34_should_be_35",
"user_unsubscribed_from_stream:ZFL35",
],
)
Expand Down Expand Up @@ -3360,9 +3360,9 @@ def test__handle_subscription_event_subscribers_to_unsubscribed_streams(
({"op": "peer_remove", "user_ids": [12, 11]}, 35, [1001]),
],
ids=[
"users_subscribed_to_stream:ZFL34shouldbe35",
"users_subscribed_to_stream:ZFL34_should_be_35",
"users_subscribed_to_stream:ZFL35",
"users_unsubscribed_from_stream:ZFL34shouldbe35",
"users_unsubscribed_from_stream:ZFL34_should_be_35",
"users_unsubscribed_from_stream:ZFL35",
],
)
Expand Down Expand Up @@ -3390,9 +3390,9 @@ def test__handle_subscription_event_subscribers_multiple_users_one_stream(
({"op": "peer_remove", "user_ids": [12]}, 35, [1001, 11]),
],
ids=[
"user_subscribed_to_streams:ZFL34shouldbe35",
"user_subscribed_to_streams:ZFL34_should_be_35",
"user_subscribed_to_streams:ZFL35",
"user_unsubscribed_from_streams:ZFL34shouldbe35",
"user_unsubscribed_from_streams:ZFL34_should_be_35",
"user_unsubscribed_from_streams:ZFL35",
],
)
Expand Down
2 changes: 1 addition & 1 deletion tests/ui_tools/test_popups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ def test_keypress_copy_stream_email(
),
],
)
def test_markup_descrption(
def test_markup_description(
self, rendered_description: str, expected_markup: Tuple[None, Any]
) -> None:
model = self.controller.model
Expand Down

0 comments on commit 8331795

Please sign in to comment.