From a3b9e78f53ead05e1d574b99487c464fc5ffd215 Mon Sep 17 00:00:00 2001 From: OMEGARAZER <869111+OMEGARAZER@users.noreply.github.com> Date: Fri, 17 Feb 2023 15:17:25 -0500 Subject: [PATCH] Update tests Seems the thumbs subdomain was changed for these cases. --- tests/site_downloaders/test_gfycat.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/site_downloaders/test_gfycat.py b/tests/site_downloaders/test_gfycat.py index f51f68a..220c807 100644 --- a/tests/site_downloaders/test_gfycat.py +++ b/tests/site_downloaders/test_gfycat.py @@ -21,12 +21,15 @@ def test_auth_cache(): ( ("https://gfycat.com/definitivecaninecrayfish", "https://giant.gfycat.com/DefinitiveCanineCrayfish.mp4"), ("https://gfycat.com/dazzlingsilkyiguana", "https://giant.gfycat.com/DazzlingSilkyIguana.mp4"), - ("https://gfycat.com/WearyComposedHairstreak", "https://thumbs4.redgifs.com/WearyComposedHairstreak.mp4"), + ("https://gfycat.com/WearyComposedHairstreak", "https://thumbs44.redgifs.com/WearyComposedHairstreak.mp4"), ( "https://thumbs.gfycat.com/ComposedWholeBullfrog-size_restricted.gif", - "https://thumbs4.redgifs.com/ComposedWholeBullfrog.mp4", + "https://thumbs44.redgifs.com/ComposedWholeBullfrog.mp4", + ), + ( + "https://giant.gfycat.com/ComposedWholeBullfrog.mp4", + "https://thumbs44.redgifs.com/ComposedWholeBullfrog.mp4", ), - ("https://giant.gfycat.com/ComposedWholeBullfrog.mp4", "https://thumbs4.redgifs.com/ComposedWholeBullfrog.mp4"), ), ) def test_get_link(test_url: str, expected_url: str):