Whitelist rm external usage in tox.ini
This cleans up the error message from tox: WARNING: test command found but not installed in testenv cmd: /bin/rm env: /home/osboxes/git/python-watcherclient/.tox/py27 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting. DEPRECATION WARNING: this will be an error in tox 4 and above! Change-Id: I854676b070720df496cb6c66f2fd1a92d232fa11
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -14,6 +14,8 @@ deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
whitelist_externals =
|
||||
rm
|
||||
commands = rm -f .testrepository/times.dbm
|
||||
stestr --test-path=./watcherclient/tests/unit run {posargs}
|
||||
stestr slowest
|
||||
|
Reference in New Issue
Block a user