From 184f50ea304a0b48636b34683f4e03d8b1474d7f Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Tue, 25 Apr 2017 12:28:24 +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: I2f3b59097c63e55195f0c8af20aab7aee292336c --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 137f1f1..15b897c 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,8 @@ setenv = VIRTUAL_ENV={envdir} install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python manage.py test {posargs} +commands = rm -f .testrepository/times.dbm + python manage.py test {posargs} [testenv:pep8] commands = flake8 {posargs}