Merge "Remove .testrepository/times.dbm in tox.ini"

This commit is contained in:
Zuul 2017-11-21 18:22:15 +00:00 committed by Gerrit Code Review
commit 9fbb87cc53
1 changed files with 7 additions and 1 deletions

View File

@ -5,13 +5,19 @@ skipsdist = True
[testenv]
usedevelop = True
whitelist_externals =
find
rm
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
CLIENT_NAME=python-octaviaclient
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
commands =
find . -type f -name "*.pyc" -delete
rm -Rf .testrepository/times.dbm
python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8 {posargs}