Merge "Use ostestr to run unit test"

This commit is contained in:
Jenkins 2016-02-22 23:23:09 +00:00 committed by Gerrit Code Review
commit e48d2369c5
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ psycopg2>=2.5 # LGPL/ZPL
python-subunit>=0.0.18 # Apache-2.0/BSD
requests-mock>=0.7.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
os-testr>=0.4.1 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testresources>=0.2.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT

View File

@ -12,7 +12,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --testr-args='{posargs}'
ostestr {posargs}
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \