From d1c4367206a6973a30fe3d8cdf150dc7c7736309 Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 13:17:21 +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: Ia6e132573b4d60f6720e1f134bda124c88fc8241 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fab61fc..2687bba 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,8 @@ install_command = setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py test --slowest --testr-args='{posargs}' +commands = rm -f .testrepository/times.dbm + python setup.py test --slowest --testr-args='{posargs}' [testenv:pep8] commands = flake8