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: I7bede2ca96cc4ca0b36460b8aeac3e5540d91751
This commit is contained in:
rajat29 2017-04-25 10:27:52 +05:30
parent aa3fbc7512
commit 1eb9cc77ae
1 changed files with 4 additions and 3 deletions

View File

@ -11,8 +11,9 @@ setenv =
BRANCH_NAME=master
CLIENT_NAME=os-win
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:pep8]
commands = flake8
@ -21,7 +22,7 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx