From 3db8e64be0df7506840521ac374601894209d05b Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 17:35:16 +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: I29d6247e11f1c9c207e9b89c0ae41f590141d281 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c5743f0..e26b368 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,8 @@ setenv = VIRTUAL_ENV={envdir} LC_ALL=C deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --testr-args='{posargs}' +commands = /bin/rm -f .testrepository/times.dbm + python setup.py testr --testr-args='{posargs}' distribute = false [testenv:pep8]