Allow ignoring modules in tests forever
This commit is contained in:
parent
4e03ec84c6
commit
6d20de8b2a
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ 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)
|
||||||
return scrapers.all()
|
# Ignore known-broken (and never-to-be-fixed) modules
|
||||||
|
scraper_pattern = '^(?!Schuelert)'
|
||||||
elif 'TESTCOMICS' in os.environ:
|
elif 'TESTCOMICS' in os.environ:
|
||||||
scraper_pattern = os.environ['TESTCOMICS']
|
scraper_pattern = os.environ['TESTCOMICS']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue