From 31b35c7b0a37ebaa522af9f2b428258193d5110d Mon Sep 17 00:00:00 2001 From: Vladyslav Drok Date: Tue, 13 Jun 2017 17:30:19 +0300 Subject: [PATCH] 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 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 789a911942..b6c716bc19 100644 --- a/tox.ini +++ b/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]