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:
parent
be8708b36d
commit
184f50ea30
3
tox.ini
3
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}
|
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
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-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]
|
[testenv:pep8]
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user