From 209a3c800871cd68edd2bc7ae661a24ecd496d2d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 13 Nov 2020 19:17:03 -0500 Subject: New upstream version 1.15.3. --- test/test_extractor.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_extractor.py') 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: -- cgit v1.2.3