fxapom/tox.ini

27 строки
656 B
INI

[tox]
envlist = py{27,36}, flake8
[testenv]
passenv = DISPLAY PYTEST_ADDOPTS PYTEST_BASE_URL SAUCELABS_API_KEY \
SAUCELABS_USERNAME JENKINS_URL JOB_NAME BUILD_NUMBER
deps = -rrequirements/{envname}-tests.txt
commands = pytest \
--junit-xml=results/{envname}.xml \
--html=results/{envname}.html --self-contained-html \
{posargs:tests}
[testenv:flake8]
skip_install = true
deps = -rrequirements/flake8.txt
commands = flake8 {posargs:.}
[flake8]
ignore = E501
[pytest]
addopts = -n=auto --verbose -r=a --driver=Firefox
testpaths = tests
xfail_strict = true
base_url = https://123done-stable.dev.lcip.org
sensitive_url = mozilla\.(com|org)