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
This commit is contained in:
Tin Lam 2016-08-08 19:47:52 -05:00
parent 12f0db8cc9
commit 6b52756f09
1 changed files with 2 additions and 0 deletions

View File

@ -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