Skip to content

Commit 4afadcf

Browse files
tleonhardtanselor
authored andcommitted
Fix it so py.test by itself doesn't crash
Change setup.cfg so that pytest only runs tests in the tests directory by default. Attempting to run tests in the isolated_tests directory was causing a crash
1 parent bda751a commit 4afadcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[tool:pytest]
2+
testpaths =
3+
tests
4+
15
[flake8]
26
exclude = .git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg
37
max-line-length = 127

0 commit comments

Comments
 (0)