aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_unfurl.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-12-07 21:15:05 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commita2edc01bd1224ef7b6e11ff9b952e675514e1ece (patch)
tree55f15de58861071dacb029b5295cc347b799de12 /tests/test_unfurl.py
parent0cb37109508d3828570c15f8ec68d65b11ff1ba1 (diff)
downloadwee-slack-a2edc01bd1224ef7b6e11ff9b952e675514e1ece.tar.gz
Format all files with ruff
Diffstat (limited to 'tests/test_unfurl.py')
-rw-r--r--tests/test_unfurl.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_unfurl.py b/tests/test_unfurl.py
index 94948d9..aeb5e5a 100644
--- a/tests/test_unfurl.py
+++ b/tests/test_unfurl.py
@@ -52,10 +52,8 @@ cases: List[Case] = [
@pytest.mark.parametrize("case", cases)
def test_unfurl_refs(case: Case, message1_in_channel_public: SlackMessage):
- parsed = (
- message1_in_channel_public._unfurl_refs( # pyright: ignore [reportPrivateUsage]
- case["input"]
- )
+ parsed = message1_in_channel_public._unfurl_refs( # pyright: ignore [reportPrivateUsage]
+ case["input"]
)
resolved = "".join(resolve_pending_message_item(item) for item in parsed)
assert resolved == case["output"]