mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[tests] fix 'pattern' not being compiled before running a test
fixes regression introduced in 3fa74ca4
This commit is contained in:
parent
c372242a06
commit
42388dc819
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user