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: I876d2169fa6e3e1239056e891ad49c530d3a0c69
This commit is contained in:
rajat29 2017-04-28 10:41:25 +05:30 committed by Rajat Sharma
parent c2230f98b8
commit 2e655d90c2
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ deps = -r{toxinidir}/requirements.txt
commands =
oslo-config-generator --config-file etc/oslo-config-generator/barbican.conf --output-file etc/barbican/barbican.conf
/usr/bin/find . -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm
coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
coverage report -m