From 6b52756f098af142e12aa9cb399089fc8317ea17 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 8 Aug 2016 19:47:52 -0500 Subject: [PATCH] Fix warning when running tox -e api-ref Running `tox -e api-ref` prints warning: WARNING:test command found but not installed in testenv cmd: /bin/rm env: /opt/stack/keystone/.tox/api-ref Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting. Change-Id: I4c1718dac22c374f048d9e04f42051e10021bb31 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 24f746bfb0..9276f68324 100644 --- a/tox.ini +++ b/tox.ini @@ -31,6 +31,8 @@ install_command = pip install -U --force-reinstall {opts} {packages} commands = rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html +whitelist_externals = + rm [testenv:legacy_drivers] deps = -r{toxinidir}/test-requirements.txt