summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-26 22:27:36 -0600
committerkotfu <kotfu@kotfu.net>2018-04-26 22:27:36 -0600
commit618b89104e4d0bf28e4ec3471e6c1d95b46b95c0 (patch)
tree7943611d5e22685b714e8430817c5c23cc40aff5
parent070e46b0c8d521cd851cd5092ad48d7890f803eb (diff)
downloadcmd2-git-618b89104e4d0bf28e4ec3471e6c1d95b46b95c0.tar.gz
pytest with —cov fails two unit tests. without —cov they pass :(
-rw-r--r--tox.ini14
1 files changed, 5 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index 6d7d063e..e74ce16f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,18 +12,17 @@ setenv =
[testenv:py34]
deps =
codecov
- pyparsing
pyperclip
pytest
+ pytest-cov
wcwidth
commands =
- py.test {posargs}
+ py.test {posargs} --cov
codecov
[testenv:py35]
deps =
mock
- pyparsing
pyperclip
pytest
wcwidth
@@ -32,7 +31,6 @@ commands = py.test -v
[testenv:py35-win]
deps =
mock
- pyparsing
pyperclip
pyreadline
pytest
@@ -41,29 +39,27 @@ commands = py.test -v
[testenv:py36]
deps =
codecov
- pyparsing
pyperclip
pytest
pytest-cov
wcwidth
commands =
- py.test
+ py.test {posargs} --cov
codecov
[testenv:py36-win]
deps =
codecov
- pyparsing
pyperclip
pyreadline
pytest
+ pytest-cov
commands =
- py.test {posargs}
+ py.test {posargs} --cov
codecov
[testenv:py37]
deps =
- pyparsing
pyperclip
pytest
wcwidth