mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 13:13:00 +01:00
25 lines
532 B
INI
25 lines
532 B
INI
|
[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
|
||
|
pipenv run pytest -v --verify-base-url --driver Firefox --html=send-test.html --self-contained-html {posargs}
|
||
|
|
||
|
[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)
|