[tox]
envlist = integration-tests, flake8
skipsdist = True

[testenv]
skip_install = True
deps = -rrequirements.txt
commands =
    pytest -v --verify-base-url --base-url {env:BASE_URL:http://web:1443} --driver Remote --capability browserName firefox --host selenium --html=/coverage/send-test.html --self-contained-html {posargs}

[testenv:flake8]
commands =
    flake8 {posargs:.}

[flake8]
exclude = .eggs,.tox,docs,node_modules

[pytest]
sensitive_url = mozilla\.(com|org)
