From 4ccc3aa8a98a9ff42274d9635df2c049c747c869 Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Fri, 30 Jun 2017 13:48:14 +0530 Subject: [PATCH] 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index b65ef99bb..7d365b39b 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =