Skip to content

Commit 1dec5c8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 96eb614 commit 1dec5c8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tests/test_social_media_extraction.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
[
99
("http://mastodon.social/@username", "https://mastodon.social/@username"),
1010
("https://mastodon.social/@username", "https://mastodon.social/@username"),
11-
("https://mastodon.social/@username?something=true", "https://mastodon.social/@username"),
11+
(
12+
"https://mastodon.social/@username?something=true",
13+
"https://mastodon.social/@username",
14+
),
1215
("@username@mastodon.social", "https://mastodon.social/@username"),
13-
]
16+
],
1417
)
1518
def test_extract_mastodon_url(input_string: str, result: str) -> None:
1619
assert PretalxSpeaker.extract_mastodon_url(input_string) == result
@@ -24,7 +27,7 @@ def test_extract_mastodon_url(input_string: str, result: str) -> None:
2427
("www.linkedin.com/in/username", "https://www.linkedin.com/in/username"),
2528
("http://linkedin.com/in/username", "https://linkedin.com/in/username"),
2629
("https://linkedin.com/in/username", "https://linkedin.com/in/username"),
27-
]
30+
],
2831
)
2932
def test_extract_linked_url(input_string: str, result: str) -> None:
3033
assert PretalxSpeaker.extract_linkedin_url(input_string) == result

0 commit comments

Comments
 (0)