Merge "Add debug testenv in tox"

This commit is contained in:
Jenkins
2016-01-15 05:03:34 +00:00
committed by Gerrit Code Review
2 changed files with 12 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ fixtures>=1.3.1
mock>=1.2
ordereddict
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
tempest-lib>=0.12.0
testrepository>=0.0.18

11
tox.ini
View File

@@ -17,6 +17,17 @@ commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --testr-args='{posargs}'
[testenv:debug]
commands = oslo_debug_helper -t manilaclient/tests {posargs}
[testenv:debug-py27]
basepython = python2.7
commands = oslo_debug_helper -t manilaclient/tests {posargs}
[testenv:debug-py34]
basepython = python3.4
commands = oslo_debug_helper -t manilaclient/tests {posargs}
[testenv:pep8]
commands =
flake8