Fix tox command for running tests

Fix the command for running tox tests and add the missing file.

Change-Id: I41b78a1e39b818ed0534a02bc7736a5c461567e8
This commit is contained in:
Jeremy Liu 2017-04-12 14:21:29 +08:00
parent 658924630f
commit c2d9b66975
2 changed files with 6 additions and 1 deletions

5
.testr.conf Normal file
View File

@ -0,0 +1,5 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover -s ./barbican_tempest_plugin -t . $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands =