Fix tox to run functional instead of unit tests
Earlier tox -efunctional command was running unit tests
instead of functional.
This issue is fixed in this patch by explicitly pointing
to functional test code path.
Closes-Bug:
@@ -20,18 +20,16 @@ commands =
stestr run --slowest {posargs}
[testenv:functional]
-setenv = OS_TEST_PATH=./tacker/tests/functional
-deps =
- {[testenv]deps}
+setenv = {[testenv]setenv}
+commands =
+ stestr --test-path=./tacker/tests/functional run --slowest {posargs}
[testenv:dsvm-functional]
basepython = python2.7
setenv = {[testenv]setenv}
- {[testenv:functional]setenv}
-deps =
- {[testenv:functional]deps}
+
commands =
- stestr run --slowest --concurrency 2 {posargs}
+ stestr --test-path=./tacker/tests/functional run --slowest --concurrency 2 {posargs}
[testenv:debug]
commands = oslo_debug_helper {posargs}
