diff --git a/tox.ini b/tox.ini index 1b156db6..34bce18a 100644 --- a/tox.ini +++ b/tox.ini @@ -48,27 +48,33 @@ commands = coverage report [testenv:debug] +basepython = python3 commands = {[testenv]commands} oslo_debug_helper -t {env:OS_TEST_PATH} {posargs} [testenv:bandit] +basepython = python3 # B101(assert_ussed) - Validation uses asserts because of performance reasons # monasca_common/kafka_lib is a clone of kafka-python and will be deleted in the future commands = bandit -r monasca_common -n5 -s B101 -x monasca_common/tests -x monasca_common/kafka_lib [testenv:flake8] +basepython = python3 commands = flake8 monasca_common [testenv:pep8] +basepython = python3 commands = {[testenv:flake8]commands} {[testenv:bandit]commands} [testenv:venv] +basepython = python3 commands = {posargs} [testenv:bindep] +basepython = python3 deps = bindep commands = bindep test