From 8ad9fd110d23175967cf601fa013162923d096fa Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 16:48:35 +0530 Subject: [PATCH] Add 'rm -f .testrepository/times.dbm' command in testenv Running py2* post py3* tests results in error. Add 'rm -f .testrepository/times.dbm' command in testenv to resolve this. Change-Id: Id23d6edfe6980680420141d01f36181194135ca6 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c8ba93ac..2c423eea 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,8 @@ setenv = VIRTUAL_ENV={envdir} LC_ALL=C deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = /bin/rm -f .testrepository/times.dbm + python setup.py testr --slowest --testr-args='{posargs}' distribute = false [testenv:py27-func-mysql]