From 049e527d1a46d5715e2fb5045491a42dda8fe6c5 Mon Sep 17 00:00:00 2001 From: rajat29 Date: Wed, 26 Apr 2017 08:38:05 +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: I158cbfd4d030afbbcd9dfaa75fa2e1e094e0a64d --- 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