Remove times.dbm prior to test run

It is a long known issue that tests for py3 can not be run after the
tests for py2 were, unless times.dbm is removed.

Related-Bug: #1229445
Change-Id: I32b62e6d870364554ec20c1acce88fa59b85881d
This commit is contained in:
Vladyslav Drok 2017-06-13 17:30:19 +03:00
parent 870d909cc7
commit 31b35c7b0a
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
TESTS_DIR=./ironic/tests/unit/
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
whitelist_externals = rm
commands =
rm -f .testrepository/times.dbm
ostestr {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:unit-with-driver-libs]