Merge "Set testenv env for api and scenario testing"

This commit is contained in:
Jenkins 2016-03-03 01:39:50 +00:00 committed by Gerrit Code Review
commit fb71133c2e
1 changed files with 18 additions and 0 deletions

18
tox.ini
View File

@ -27,6 +27,24 @@ setenv = OS_TEST_PATH=./neutron_fwaas/tests/functional
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:api]
sitepackages=True
setenv =
OS_TEST_PATH=./neutron_fwaas/tests/tempest_plugin/tests/api/
OS_TESTR_CONCURRENCY=1
TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:scenario]
sitepackages=True
setenv =
OS_TEST_PATH=./neutron_fwaas/tests/tempest_plugin/tests/scenario/
OS_TESTR_CONCURRENCY=1
TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:dsvm-functional]
setenv =
OS_TEST_PATH=./neutron_fwaas/tests/functional