diff --git a/test/test_normalize.py b/test/test_normalize.py new file mode 100644 index 0000000..5a89192 --- /dev/null +++ b/test/test_normalize.py @@ -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' + +