Fix deps for api-samples tox env

The api-samples tox target fails since it needs the
PlacementFixture which comes from the placement repo.
This fixes it by using the same deps trick as the other
functional test environments.

As a result, the shared environment is also removed.

Change-Id: I815b8b3cff5dcbb0fc4be5f1d85019111c2009e5
This commit is contained in:
Matt Riedemann 2019-01-28 16:44:33 -05:00
parent bff3fd1cdb
commit 6ae35e11b8
1 changed files with 1 additions and 1 deletions

View File

@ -133,11 +133,11 @@ commands =
{[testenv:functional]commands}
[testenv:api-samples]
envdir = {toxworkdir}/shared
setenv =
{[testenv]setenv}
GENERATE_SAMPLES=True
PYTHONHASHSEED=0
deps = {[testenv:functional]deps}
commands =
{[testenv]commands}
stestr --test-path=./nova/tests/functional/api_sample_tests run {posargs}