From 17f137a8ec2f3ef73bf1ececbbafe1c1f83b1717 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 13 Sep 2017 16:04:14 -0500 Subject: [PATCH] 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 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fdd14320..e1f376b6 100644 --- a/tox.ini +++ b/tox.ini @@ -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