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. Closes-Bug: #1565928 Change-Id: I111d82a1509af03aa2e141ee3fd9b2ff9e223215
This commit is contained in:
parent
dd2e3ff3a3
commit
e11f2e8006
5
tox.ini
5
tox.ini
|
@ -13,7 +13,10 @@ setenv =
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py test --slowest --testr-args='{posargs}'
|
whitelist_externals = rm
|
||||||
|
commands =
|
||||||
|
rm -f .testrepository/times.dbm
|
||||||
|
python setup.py test --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
Loading…
Reference in New Issue