Merge "Add debug testenv in tox"

This commit is contained in:
Jenkins 2016-02-09 04:04:38 +00:00 committed by Gerrit Code Review
commit 2dd17902c6
2 changed files with 12 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ddt>=0.7.0
python-subunit>=0.0.18
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx>=2.5.0 # Apache-2.0
oslotest>=1.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
testrepository>=0.0.18
testscenarios>=0.4
testtools>=1.4.0

11
tox.ini
View File

@ -21,6 +21,17 @@ commands = find . -type f -name "*.py[c|o]" -delete
basepython = python2.7
setenv = OS_TEST_PATH=./kuryr/tests/fullstack
[testenv:debug]
commands = oslo_debug_helper {posargs}
[testenv:debug-py27]
basepython = python2.7
commands = oslo_debug_helper {posargs}
[testenv:debug-py34]
basepython = python3.4
commands = oslo_debug_helper {posargs}
[testenv:pep8]
commands = flake8