diff options
author | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-02-12 22:05:37 -0700 |
---|---|---|
committer | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-02-14 21:11:20 -0700 |
commit | acb75a052e243f730de85228ea091441624ce554 (patch) | |
tree | a985542f33c8be443a758886baa85ee77d5f4533 /setup.cfg | |
parent | 5688add28711414aa05c943eee539702fd3c1d07 (diff) | |
download | astroid-git-acb75a052e243f730de85228ea091441624ce554.tar.gz |
Use pytest as default test runner instead of unittest for tox
There was some trouble getting this to work. I needed to use
--pyargs for pytest to work in tox
Allow for test file prefix unittest_ to be changed to standard test_
Helps with updating the astroid tests to standard pytest conventions
Make pytest use proper test directory by default
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ [wheel] universal = 1 [tool:pytest] -python_files = unittest_* +python_files = unittest_* test_*.py +testpaths = astroid/tests |