summaryrefslogtreecommitdiffstats
path: root/test/test_extractor.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_extractor.py')
-rw-r--r--test/test_extractor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_extractor.py b/test/test_extractor.py
index f8b8f09..a623e1d 100644
--- a/test/test_extractor.py
+++ b/test/test_extractor.py
@@ -156,6 +156,9 @@ class TestExtractorModule(unittest.TestCase):
self.fail(f"{cls.__name__} pattern does not match "
f"example URL '{cls.example}'")
+ self.assertEqual(cls, extr.__class__)
+ self.assertEqual(cls, extractor.find(cls.example).__class__)
+
extr.request = fail_request
extr.initialize()
extr.finalize()