Tests: remove .testrepository/times.dbm in tox.ini
Existance of this file causes py3* tests to fail if run after py27. This patch adds cleaning up of this file before running py3* tests. Change-Id: I64ef1eac7f05f217674c73ddd2cc3af773dd75ce Closes-Bug: #1229445
This commit is contained in:
1 changed files with 1 additions and 3 deletions
4
tox.ini
4
tox.ini
@@ -16,11 +16,9 @@ setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
deps = -r{toxinidir}/test-requirements.txt
# NOTE(mriedem): If py35 fails with "db type could not be determined", delete
# .testrepository and try again. Running py35 before py27 is OK, but not the
# other way around. See: https://bugs.launchpad.net/testrepository/+bug/1212909
commands =
find . -type f -name "*.pyc" -delete
rm -Rf .testrepository/times.dbm
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEBUG GENERATE_HASHES
# there is also secret magic in pretty_tox.sh which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.