From fe24292ae338a5767208abb7ea9634e5dd5c0681 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 7 Oct 2020 10:52:01 -0700 Subject: [PATCH] setup.cfg: Add pytest discovery args We have a single giant file for our tests, but a number of files that match pytest's default discovery globs. To fix that, let's tell pytest what to do. This means you can just `pytest` and get the right results. It also helps IDE's like vscode correctly identify tests. --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index f3ed75ef9..3fb1a838c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,3 +39,6 @@ progress = [tool:pytest] python_classes = +python_files = + run_unittests.py +