Files
deb-python-dcos/cli/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

38 lines
837 B
INI

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