Fix a warning when running `tox -e api-ref`

When executing `tox -e api-ref`, the following warning appears.

    WARNING:test command found but not installed in testenv
      cmd: /bin/rm
      env: /Users/tl3438/oss/ceilometer/.tox/api-ref
    Maybe you forgot to specify a dependency? See also ...

This patch set adds the whitelist_externals to api-ref.

Change-Id: Ic663d229990c028888f0ecd7f7b85561ad618bf4
This commit is contained in:
Tin Lam 2016-08-22 15:53:56 -05:00
parent 4ce3339670
commit 5684aa0d1d
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ import_exceptions =
local-check-factory = ceilometer.hacking.checks.factory
[testenv:api-ref]
whitelist_externals = rm
commands =
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html