From 83bf437c5a2ce39b70bc02e6bfd1ce5f1f4e22e4 Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 12:32:35 +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: Iba2e8573328b56c38121e6154aa9a44ab2cb1cb6 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ff242c70..dbcaed2c 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,8 @@ setenv = VIRTUAL_ENV={envdir} OS_TEST_PATH=mogan/tests/unit 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:common-constraints] install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}