Test normalize
This commit is contained in:
parent
10f71be39b
commit
7775066990
10
test/test_normalize.py
Normal file
10
test/test_normalize.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
import socials_util
|
||||||
|
|
||||||
|
|
||||||
|
def test_normalize_yt():
|
||||||
|
url = 'https://www.youtube.com/c/WheelieYellow'
|
||||||
|
social_link = socials_util.determine_social_from_url(url)
|
||||||
|
assert social_link.url.geturl() == 'https://youtube.com/@WheelieYellow'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user