1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[tests] fix 'pattern' not being compiled before running a test

fixes regression introduced in 3fa74ca4
This commit is contained in:
Mike Fährmann 2024-07-31 23:32:18 +02:00
parent c372242a06
commit 42388dc819
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -94,6 +94,7 @@ class TestExtractorResults(unittest.TestCase):
result.pop("#comment", None)
auth = result.pop("#auth", None)
extractor.find(result["#url"])
extr = result["#class"].from_url(result["#url"])
if not extr:
raise exception.NoExtractorError()