From ca187faaeec0a88aab41ba58f9d7bcb6918b1cc0 Mon Sep 17 00:00:00 2001 From: rajat29 Date: Thu, 27 Jul 2017 15:24:14 +0530 Subject: 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. Closes-Bug: #1565928 Change-Id: I31fa34e48f24014885668c249eaf8bb62b70fadc --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index e8a0179..803b8c6 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,9 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt + commands = + rm -f .testrepository/times.dbm coverage erase python setup.py testr --coverage --testr-args='{posargs}' coverage report -m -- cgit v1.2.1