From 4f1d9275e0710217f9f0f8c43b734101a1589bfd Mon Sep 17 00:00:00 2001 From: EvB Date: Mon, 9 Jan 2017 13:48:32 -0500 Subject: [PATCH] fix(setup.cfg): run only test/test_*.py files Restrict test run to files labeled test_*.py in test directory. Do not run other test files, e.g. test/registry_tests.py which is run in its own test suite. --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 636bdd178..7a818185b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,8 @@ [tool:pytest] norecursedirs = .* *.egg build dist docs bin boot core dev etc home lib lib64 media mnt node_modules opt proc root run sbin srv sys tmp usr var venv testpaths = ./ -python_files = **/test/*.py test/**.py +python_files = **/test/test_*.py +confcutdir = test [coverage:run] branch = True