Remove .testrepository directory from testenv

Running py2* post py3* tests results in error like:
db type could not be determined
error: testr failed (3)
ERROR: InvocationError: '/home/xxx/xxx/mistral/.tox/py35/bin/python
       setup.py testr --slowest --testr-args='
ERROR:   py35: commands failed

Removing .testrepository from testenv to resolves this.

Change-Id: Icd3e08dc342c2f9c19b39bd7ee9cfbdeff68a370
This commit is contained in:
Sharat Sharma 2017-06-30 13:48:14 +05:30
parent fe1a1e1518
commit 4ccc3aa8a9

View File

@ -12,6 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands =
rm -f .testrepository
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals =