aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_extractor.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-11-13 19:17:03 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2020-11-13 19:17:03 -0500
commit209a3c800871cd68edd2bc7ae661a24ecd496d2d (patch)
treecf81c47ab57540b58292295c7d5641e9d2668291 /test/test_extractor.py
parent5dc7d6f5902ddaee5223d041d5c10060f0c72430 (diff)
New upstream version 1.15.3.upstream/1.15.3
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 162edc0..8bc3a27 100644
--- a/test/test_extractor.py
+++ b/test/test_extractor.py
@@ -22,6 +22,8 @@ from gallery_dl.extractor import mastodon # noqa E402
from gallery_dl.extractor.common import Extractor, Message # noqa E402
from gallery_dl.extractor.directlink import DirectlinkExtractor # noqa E402
+_list_classes = extractor._list_classes
+
class FakeExtractor(Extractor):
category = "fake"
@@ -45,6 +47,7 @@ class TestExtractorModule(unittest.TestCase):
def setUp(self):
extractor._cache.clear()
extractor._module_iter = iter(extractor.modules)
+ extractor._list_classes = _list_classes
def test_find(self):
for uri in self.VALID_URIS: