Whitelist 'rm' in api-ref tox environment

Running the api-ref environment currently warns that 'rm' is not
installed in testenv. This patch removes the warning by whitelisting
the rm command.

Change-Id: I4072491713a38b11d9f55b26a8ba0a3cf49445f0
Closes-Bug: #1581778
This commit is contained in:
Daniel Gonzalez 2016-05-14 11:30:24 +02:00
parent 49e4bcf31e
commit c2f2eeb394
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ passenv = *_proxy *_PROXY
[testenv:api-ref]
# (sheel)This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org.
whitelist_externals = rm
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
rm -rf cinder/api-ref/build