1
0

Test normalize
Some checks failed
Run Python tests (through Pytest) / Test (push) Has been cancelled
Verify Python project can be installed, loaded and have version checked / Test (push) Waiting to run
Python Ruff Code Quality / ruff (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2024-11-21 19:44:12 +01:00
parent 10f71be39b
commit 7775066990
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

10
test/test_normalize.py Normal file
View 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'