2018-04-24 15:00:19 +00:00
|
|
|
[tox]
|
|
|
|
envlist = integration-tests, flake8
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
skip_install = True
|
|
|
|
deps = -rpipenv.txt
|
|
|
|
commands =
|
|
|
|
pipenv install --skip-lock
|
2018-05-03 22:00:34 +00:00
|
|
|
pipenv run pytest -v --verify-base-url --driver Remote --capability browserName firefox --host selenium --html=send-test.html --self-contained-html {posargs}
|
2018-04-24 15:00:19 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
commands =
|
|
|
|
pipenv install --skip-lock
|
|
|
|
pipenv run flake8 {posargs:.}
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
exclude = .eggs,.tox,docs,node_modules
|
|
|
|
|
|
|
|
[pytest]
|
2018-05-03 22:00:34 +00:00
|
|
|
base_url = http://web:1443
|
2018-04-24 15:00:19 +00:00
|
|
|
sensitive_url = mozilla\.(com|org)
|