Merge "Add debug testenv in tox"

This commit is contained in:
Jenkins 2016-03-04 22:22:09 +00:00 committed by Gerrit Code Review
commit c8c58f8914
1 changed files with 11 additions and 0 deletions

11
tox.ini
View File

@ -14,6 +14,17 @@ whitelist_externals = bash
commands =
bash -c "TESTS_DIR=./cue/tests/ python setup.py testr --slowest --testr-args='{posargs}'"
[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 {posargs}