From c105715b29cd40dffe85c8ed2d3fc8156ed8b691 Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 13:22:51 +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: Ic10e2ed48a3d4aa3c2d30e5984bfcd6043e26fac --- 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