diff options
author | Alexander Ignatov <aignatov@mirantis.com> | 2014-02-09 21:15:08 +0400 |
---|---|---|
committer | Alexander Ignatov <aignatov@mirantis.com> | 2014-02-09 23:19:22 +0400 |
commit | 50c348a312d48ca901ab8e095962b4b0c413aa06 (patch) | |
tree | a1f15a80de950f2057b6dce06bf26755ea782bb2 | |
parent | f3df0845db4d09b5c8bf0172427ec00cefecd5f4 (diff) | |
download | python-saharaclient-50c348a312d48ca901ab8e095962b4b0c413aa06.tar.gz |
Some improvements in tox.ini
* Removed all code related to nosetests env
* Added coverage command to testenv
Change-Id: I485f5b2c45ccafa7bdbb5aef0e796f53d7243270
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 9 |
2 files changed, 2 insertions, 8 deletions
@@ -31,3 +31,4 @@ ChangeLog cscope.out .testrepository AUTHORS +cover @@ -9,20 +9,13 @@ install_command = pip install -U {opts} {packages} sitepackages = True setenv = VIRTUAL_ENV={envdir} - NOSE_WITH_OPENSTACK=1 - NOSE_OPENSTACK_COLOR=1 - NOSE_OPENSTACK_RED=0.05 - NOSE_OPENSTACK_YELLOW=0.025 - NOSE_OPENSTACK_SHOW_ELAPSED=1 - NOSE_OPENSTACK_STDOUT=1 - NOSE_XUNIT=1 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py test --slowest --testr-args="{posargs}" [testenv:cover] -setenv = NOSE_WITH_COVERAGE=1 +commands = python setup.py test --coverage --testr-args='{posargs}' [tox:jenkins] sitepackages = False |