From bfdc549971a2da6eb2acb6f55465cca283ace2c5 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 30 Oct 2022 20:57:50 -0400 Subject: [PATCH] TST: allow custom test selection PR #180 --- noxfile.py | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 1b9665b3f..3a31522e9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -52,5 +52,5 @@ def test(session): '--cov', '--cov-config', 'setup.cfg', f'--cov-report=html:{htmlcov_output}', f'--cov-report=xml:{xmlcov_output}', - 'tests/', *session.posargs + *session.posargs ) diff --git a/setup.cfg b/setup.cfg index 97122f643..fbdc1c703 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,3 +19,5 @@ show_contexts = true [tool:pytest] norecursedirs = tests/packages/* +testpaths = + tests