From 66681ef9c9fd6794a23961e6bc793bb0b0a4e400 Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 12:55:27 +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: Ie704b12c413c9e8cc0b2649c1d2bbc03a3b61a11 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bec51c0..94d4f8e 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,8 @@ setenv = VIRTUAL_ENV={envdir} OS_TEST_PATH=./watcherclient/tests/unit deps = -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = rm -f .testrepository/times.dbm + python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] commands = flake8