diff options
author | Christian Berendt <berendt@b1-systems.de> | 2014-07-21 13:21:46 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2014-07-21 13:32:05 +0200 |
commit | 1ae4684f495837449c12bb032f8c9403dd19b03a (patch) | |
tree | bc4294cbf607b74c6b8fb18140ef36bdb4c4daf6 | |
parent | 5fb3475fac020c28bc44834d524e218af9cfdec9 (diff) | |
download | oslo-rootwrap-1ae4684f495837449c12bb032f8c9403dd19b03a.tar.gz |
Move test requirement coverage into tox.ini
Like commented in the test-requirements.ini file the test requirement
coverage can be moved into the tox.ini file when tox>=1.4 is required.
The minimum version at the moment is 1.6.
Change-Id: Ic71f63fb0fab0470e4732099bb8ab5c13dd98538
-rw-r--r-- | test-requirements.txt | 5 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index b639ae4..14a9d7e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,10 +7,5 @@ testrepository>=0.0.17 testscenarios>=0.4 testtools>=0.9.32 -# when we can require tox>= 1.4, this can go into tox.ini: -# [testenv:cover] -# deps = {[testenv]deps} coverage -coverage>=3.6 - # mocking framework mock>=1.0 @@ -15,10 +15,13 @@ commands = python setup.py testr --slowest --testr-args='{posargs}' commands = flake8 [testenv:cover] +deps = {[testenv]deps} + coverage setenv = VIRTUAL_ENV={envdir} commands = python setup.py testr --coverage + [testenv:venv] commands = {posargs} |