From 84b286e54f4acc85eba7f837f64fe1c5299e23c0 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 11 Oct 2012 18:18:32 +0200 Subject: [PATCH] Increase test number. --- Makefile | 2 +- tests/test_comics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b509b075..c977d592d 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tests/test_comics.py b/tests/test_comics.py index 2ee17d004..f8cfdf911 100644 --- a/tests/test_comics.py +++ b/tests/test_comics.py @@ -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,