Browse Source

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
changes/67/473867/2
Vladyslav Drok 4 years ago
parent
commit
31b35c7b0a
  1. 5
      tox.ini

5
tox.ini

@ -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]

Loading…
Cancel
Save