Increase test number.

This commit is contained in:
Bastian Kleineidam 2012-10-11 18:18:32 +02:00
parent c0ad053647
commit 84b286e54f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ ARCHIVE:=dosage-$(VERSION).tar.gz
PY_FILES_DIRS := dosage dosagelib tests *.py
PY2APPOPTS ?=
NUMPROCESSORS:=$(shell grep -c processor /proc/cpuinfo)
MAXFAILEDTESTS:=1
MAXFAILEDTESTS:=10
# Pytest options:
# - stop after MAXFAILEDTESTS failed errors
# - use multiple processors

View file

@ -49,7 +49,7 @@ class _ComicTester(TestCase):
def generate_comic_testers():
"""For each comic scraper, create a test class."""
# Limit number of scraper tests for now
max_scrapers = 10
max_scrapers = 100
for scraperclass in islice(scraper.get_scrapers(), 0, max_scrapers):
name = 'Test'+scraperclass.__name__
globals()[name] = type(name,