2018-04-24 15:00:19 +00:00
|
|
|
[tox]
|
|
|
|
envlist = integration-tests, flake8
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
recreate=True
|
|
|
|
skip_install = True
|
|
|
|
passenv = DISPLAY MOZ_HEADLESS
|
|
|
|
deps = -rpipenv.txt
|
|
|
|
commands =
|
|
|
|
pipenv install --skip-lock
|
2018-04-27 19:44:03 +00:00
|
|
|
pipenv run pytest -v --verify-base-url -n 2 --driver Firefox --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]
|
|
|
|
base_url = http://localhost:8080
|
|
|
|
sensitive_url = mozilla\.(com|org)
|