Increase test number.
This commit is contained in:
parent
c0ad053647
commit
84b286e54f
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ ARCHIVE:=dosage-$(VERSION).tar.gz
|
||||||
PY_FILES_DIRS := dosage dosagelib tests *.py
|
PY_FILES_DIRS := dosage dosagelib tests *.py
|
||||||
PY2APPOPTS ?=
|
PY2APPOPTS ?=
|
||||||
NUMPROCESSORS:=$(shell grep -c processor /proc/cpuinfo)
|
NUMPROCESSORS:=$(shell grep -c processor /proc/cpuinfo)
|
||||||
MAXFAILEDTESTS:=1
|
MAXFAILEDTESTS:=10
|
||||||
# Pytest options:
|
# Pytest options:
|
||||||
# - stop after MAXFAILEDTESTS failed errors
|
# - stop after MAXFAILEDTESTS failed errors
|
||||||
# - use multiple processors
|
# - use multiple processors
|
||||||
|
|
|
@ -49,7 +49,7 @@ class _ComicTester(TestCase):
|
||||||
def generate_comic_testers():
|
def generate_comic_testers():
|
||||||
"""For each comic scraper, create a test class."""
|
"""For each comic scraper, create a test class."""
|
||||||
# Limit number of scraper tests for now
|
# Limit number of scraper tests for now
|
||||||
max_scrapers = 10
|
max_scrapers = 100
|
||||||
for scraperclass in islice(scraper.get_scrapers(), 0, max_scrapers):
|
for scraperclass in islice(scraper.get_scrapers(), 0, max_scrapers):
|
||||||
name = 'Test'+scraperclass.__name__
|
name = 'Test'+scraperclass.__name__
|
||||||
globals()[name] = type(name,
|
globals()[name] = type(name,
|
||||||
|
|
Loading…
Reference in a new issue