[tests] fix 'pattern' not being compiled before running a test
fixes regression introduced in 3fa74ca4
This commit is contained in:
@@ -94,6 +94,7 @@ class TestExtractorResults(unittest.TestCase):
|
|||||||
result.pop("#comment", None)
|
result.pop("#comment", None)
|
||||||
auth = result.pop("#auth", None)
|
auth = result.pop("#auth", None)
|
||||||
|
|
||||||
|
extractor.find(result["#url"])
|
||||||
extr = result["#class"].from_url(result["#url"])
|
extr = result["#class"].from_url(result["#url"])
|
||||||
if not extr:
|
if not extr:
|
||||||
raise exception.NoExtractorError()
|
raise exception.NoExtractorError()
|
||||||
|
|||||||
Reference in New Issue
Block a user