Test MangaDex again

This commit is contained in:
Tobias Gruetzmacher 2022-05-27 20:52:29 +02:00
parent ca2c0cd6ed
commit 420fde12b0

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam # Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2020 Tobias Gruetzmacher # Copyright (C) 2015-2022 Tobias Gruetzmacher
import re import re
import os import os
@ -15,8 +15,7 @@ def get_test_scrapers():
"""Return scrapers that should be tested.""" """Return scrapers that should be tested."""
if 'TESTALL' in os.environ: if 'TESTALL' in os.environ:
# test all comics (this will take some time) # test all comics (this will take some time)
# ignore mangadex for now (site is temporary down) return scrapers.get()
scraper_pattern = '^(?!MangaDex)'
elif 'TESTCOMICS' in os.environ: elif 'TESTCOMICS' in os.environ:
scraper_pattern = os.environ['TESTCOMICS'] scraper_pattern = os.environ['TESTCOMICS']
else: else: