1
0
socials-util/test/test_normalize.py

11 lines
240 B
Python
Raw Normal View History

2024-11-21 18:44:12 +00:00
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'