Files
deb-python-dcos/tox.ini
tamarrow ee49775973 handle mesos tasks having ids that are substrings of each other (#656)
Instead of crashing, if looking for a task by a fltr, return an exact match if it exists
2016-06-16 15:42:01 -07:00

26 lines
556 B
INI

[tox]
envlist = py34-syntax, py{27,34}-unit
[testenv]
deps =
pytest
pytest-cov
passenv = DCOS_* CI_FLAGS CLI_TEST_SSH_KEY_PATH
[testenv:py34-syntax]
deps =
flake8
isort
commands =
flake8 --verbose {env:CI_FLAGS:} dcos tests setup.py
isort --recursive --check-only --diff --verbose dcos tests setup.py
[testenv:py27-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests
[testenv:py34-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests