From fea7544318c29e740704630a1e4f3d87067f5472 Mon Sep 17 00:00:00 2001 From: rajat29 Date: Wed, 26 Apr 2017 09:17:06 +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: I70bda66df507bd682ebc50f6edce242d52bc9e01 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ccbf8c7..a582d07 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,8 @@ install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -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