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
This commit is contained in:
M V P Nitesh 2017-04-25 12:28:24 +05:30
parent be8708b36d
commit 184f50ea30

View File

@ -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}