Skip to content

Commit

Permalink
setup.cfg: Add pytest discovery args
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dcbaker authored and jpakkane committed Oct 30, 2020
1 parent bca9072 commit fe24292
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ progress =

[tool:pytest]
python_classes =
python_files =
run_unittests.py

0 comments on commit fe24292

Please sign in to comment.