aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-10-07 10:52:01 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-30 11:41:29 +0200
commitfe24292ae338a5767208abb7ea9634e5dd5c0681 (patch)
tree28fcede587a9c6461800c24fb7a7aa6453a36a47 /setup.cfg
parentbca90722ecfc541ac5db7c1c79fb63ceb6286cd4 (diff)
downloadmeson-fe24292ae338a5767208abb7ea9634e5dd5c0681.zip
meson-fe24292ae338a5767208abb7ea9634e5dd5c0681.tar.gz
meson-fe24292ae338a5767208abb7ea9634e5dd5c0681.tar.bz2
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.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index f3ed75e..3fb1a83 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,3 +39,6 @@ progress =
[tool:pytest]
python_classes =
+python_files =
+ run_unittests.py
+