Skip to content

Commit cd77e7a

Browse files
committed
style(slack): ruff format unfurl-cache key check assertion
1 parent d8a4c69 commit cd77e7a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_slack_webhook.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,9 +1327,7 @@ def _make_changed_body(url: str, title: str) -> str:
13271327
second = state._cache.get("slack:unfurls:1234567890.111111")
13281328
assert second is not None
13291329
assert second.get("https://b.example.com") is not None
1330-
assert second.get("https://a.example.com") is None, (
1331-
"second message_changed must overwrite, not merge"
1332-
)
1330+
assert second.get("https://a.example.com") is None, "second message_changed must overwrite, not merge"
13331331
assert second["https://b.example.com"]["title"] == "Second"
13341332

13351333
def test_extract_links_url_with_open_paren_survives_parser(self):

0 commit comments

Comments
 (0)