diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-22 03:45:08 -0700 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2019-10-22 05:45:08 -0500 |
commit | 6fd91c3ec527b5bb3f24a514179fe5cfd399356f (patch) | |
tree | 444f46b88e3a6b332ac5a621c6d3cbdc9ffe3783 | |
parent | df028eaecfdb74908fb1155b9f776b13597b3e3c (diff) | |
download | pyparsing-git-6fd91c3ec527b5bb3f24a514179fe5cfd399356f.tar.gz |
Fix tox to run refactored tests (#151)
After commit 3481b6f3f9bb2dae7e9d88ed08989b5f71238e4b, tox failed to run
tests locally. The tox configuration now uses a command identical to
Travis. It runs the unittest test discoverer.
The command "discover" is the default if no additional argument is
passed to unittest.
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 47ba8d0..1762181 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: - pip install codecov script: - - python -m unittest discover tests + - python -m unittest after_success: - - codecov run -m unittest tests.test_unit
\ No newline at end of file + - codecov run -m unittest tests.test_unit @@ -4,5 +4,4 @@ envlist=py{35,36,37,38,py3} [testenv] deps=coverage commands= - coverage run --parallel --branch tests/test_simple_unit.py - coverage run --parallel --branch tests/test_unit.py + coverage run --parallel --branch -m unittest |