26 lines
437 B
INI
26 lines
437 B
INI
[tox]
|
|
envlist = flake8,rancher
|
|
|
|
[testenv]
|
|
basepython = python3.10
|
|
passenv =
|
|
CATTLE_TEST_URL
|
|
RANCHER_SERVER_PASSWORD
|
|
|
|
[testenv:flake8]
|
|
deps =
|
|
flake8===3.7.9
|
|
changedir = {toxinidir}
|
|
commands = flake8 suite
|
|
|
|
[testenv:rancher]
|
|
deps = -rrequirements.txt
|
|
changedir = suite
|
|
commands = pytest --durations=20 -rfE -v {posargs}
|
|
|
|
[pytest]
|
|
timeout = 300
|
|
faulthandler_timeout = 300
|
|
markers =
|
|
nonparallel: mark a test as non-parallel.
|