@@ -33,6 +33,7 @@ def test_extract_mastodon_url(input_string: str, result: str) -> None:
33
33
def test_extract_linkedin_url (input_string : str , result : str ) -> None :
34
34
assert EuroPythonSpeaker .extract_linkedin_url (input_string ) == result
35
35
36
+
36
37
@pytest .mark .parametrize (
37
38
("input_string" , "result" ),
38
39
[
@@ -41,12 +42,27 @@ def test_extract_linkedin_url(input_string: str, result: str) -> None:
41
42
("username.bsky.social" , "https://bsky.app/profile/username.bsky.social" ),
42
43
("bsky.app/profile/username" , "https://bsky.app/profile/username.bsky.social" ),
43
44
("bsky/username" , "https://bsky.app/profile/username.bsky.social" ),
44
- ("www.bsky.app/profile/username" , "https://bsky.app/profile/username.bsky.social" ),
45
- ("www.bsky.app/profile/username.bsky.social" , "https://bsky.app/profile/username.bsky.social" ),
46
- ("http://bsky.app/profile/username" , "https://bsky.app/profile/username.bsky.social" ),
47
- ("https://bsky.app/profile/username.com" , "https://bsky.app/profile/username.com" ),
48
- ("https://bsky.app/profile/username.bsky.social" , "https://bsky.app/profile/username.bsky.social" ),
45
+ (
46
+ "www.bsky.app/profile/username" ,
47
+ "https://bsky.app/profile/username.bsky.social" ,
48
+ ),
49
+ (
50
+ "www.bsky.app/profile/username.bsky.social" ,
51
+ "https://bsky.app/profile/username.bsky.social" ,
52
+ ),
53
+ (
54
+ "http://bsky.app/profile/username" ,
55
+ "https://bsky.app/profile/username.bsky.social" ,
56
+ ),
57
+ (
58
+ "https://bsky.app/profile/username.com" ,
59
+ "https://bsky.app/profile/username.com" ,
60
+ ),
61
+ (
62
+ "https://bsky.app/profile/username.bsky.social" ,
63
+ "https://bsky.app/profile/username.bsky.social" ,
64
+ ),
49
65
],
50
66
)
51
67
def test_extract_bluesky_url (input_string : str , result : str ) -> None :
52
- assert EuroPythonSpeaker .extract_bluesky_url (input_string ) == result
68
+ assert EuroPythonSpeaker .extract_bluesky_url (input_string ) == result
0 commit comments