diff --git a/Makefile b/Makefile index 7d04bbdd5..c690cd70f 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,10 @@ DEBORIGFILE:=$(DEBUILDDIR)/$(LAPPNAME)_$(VERSION).orig.tar.gz DEBPACKAGEDIR:=$(DEBUILDDIR)/$(LAPPNAME)-$(VERSION) PY_FILES_DIRS := dosage dosagelib scripts tests PY2APPOPTS ?= -# Default pytest options: -# Do not use parallel testing with -n: it makes some tests fail since -# some web servers have limits on the number of parallel connections. -# Also note that using -n silently swallows test creation exceptions like +# Default pytest options +# Note that using -n silently swallows test creation exceptions like # import errors. -PYTESTOPTS?=--resultlog=testresults.txt --tb=short --durations=0 +PYTESTOPTS?=--resultlog=testresults.txt --tb=short --durations=0 -n4 CHMODMINUSMINUS:=-- # directory or file with tests to run TESTS ?= tests diff --git a/tests/test_comics.py b/tests/test_comics.py index 6d562ef63..96eccff35 100644 --- a/tests/test_comics.py +++ b/tests/test_comics.py @@ -97,6 +97,10 @@ def generate_comic_testers(): scrapers = scraper.get_scrapers() for scraperclass in scrapers: name = 'Test'+scraperclass.__name__ + # The DrunkDuck webpage has a *lot* of false positives. + # Skip them for now. + if name.startswith("TestDrunkDuck"): + continue g[name] = make_comic_tester(name, scraperclass=scraperclass)