From 6ae35e11b8cd5d84d270cfb83038c676a6394667 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 28 Jan 2019 16:44:33 -0500 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0aabcda397bf..ac585554dc72 100644 --- a/tox.ini +++ b/tox.ini @@ -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}