diff --git a/tox.ini b/tox.ini index ecfeb09155e9..8b6e8342cec1 100644 --- a/tox.ini +++ b/tox.ini @@ -125,11 +125,11 @@ commands = {[testenv:functional]commands} [testenv:api-samples] -envdir = {toxworkdir}/shared setenv = {[testenv]setenv} GENERATE_SAMPLES=True PYTHONHASHSEED=0 +deps = {[testenv:functional]deps} commands = stestr --test-path=./nova/tests/functional/api_sample_tests run {posargs} stestr slowest