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: I83ee9e86844c1654ad438ab3e25f76ea5529db24
This commit is contained in:
yushangbin 2017-08-13 21:54:10 +08:00
parent 19917ee7f3
commit cdd4be738c
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ setenv =
LANGUAGE=en_US
LC_ALL=en_US.utf-8
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:fullstack]
basepython = python2.7