diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-07-31 00:32:41 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-08-04 13:38:08 -0400 |
commit | 4afadcf64659906a24e521eccdba6d4b2ed70125 (patch) | |
tree | c8d7db414084c54ca4f569e90c7efd9fc176dca4 | |
parent | bda751a1364bb396c0c690a2e83d781cdfd880be (diff) | |
download | cmd2-git-4afadcf64659906a24e521eccdba6d4b2ed70125.tar.gz |
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
-rw-r--r-- | setup.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +[tool:pytest] +testpaths = + tests + [flake8] exclude = .git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg max-line-length = 127 |