Add rm to whitelist_externals in tox.ini

When running tox tests, a warning pops up saying:

WARNING:test command found but not installed in testenv
  cmd: /usr/bin/rm
  env: /path/to/directory/ec2-api/.tox/py27
Maybe you forgot to specify a dependency? See also the
whitelist_externals envconfig setting.

Adding rm to the whitelist_externals causes this warning
to no longer appear.

Change-Id: I1894b69a9e459de874b95ee6ba1fb9d060cd426b
This commit is contained in:
Gage Hugo 2017-09-13 16:04:14 -05:00
parent cb0fd7801f
commit 17f137a8ec
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ commands =
rm -f .testrepository/times.dbm
python tools/patch_tox_venv.py
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals =
rm
[tox:jenkins]
sitepackages = False