Fix the warning about test command 'rm' found but not installed

tox command shows WARNING message as follow.
"WARNING:test command found but not installed in testenv"
If we use "rm" command in tox.ini, we should put it in the
whitelist_externals. This patch changes fix it and remove the
Warning message.

Change-Id: Icaf76904d4ffb95894c32af9789d9fa4e962475c
Closes-Bug: #1719788
This commit is contained in:
chenying 2017-09-27 15:13:29 +08:00
parent 3f3df9b761
commit 3b1c7a213e
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ setenv =
LANGUAGE=en_US
LC_ALL=en_US.utf-8
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = rm
commands =
rm -f .testrepository/times.dbm
python setup.py test --slowest --testr-args='{posargs}'