forked from alphagov/notifications-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (26 loc) · 663 Bytes
/
Copy pathtox.ini
File metadata and controls
29 lines (26 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
envlist =
py27
py34
[testenv]
deps = -r{toxinidir}/requirements_for_test.txt
# can't use the scripts directly as they set up the venv dir, and i'm not sure how that'll interact with tox's internal venv
commands =
{envbindir}/pep8 --exclude=venv,.tox .
py.test tests/ {posargs}
{envbindir}/python integration_test/integration_tests.py
# environment variables used by the tests
passenv =
NOTIFY_API_URL
API_KEY
FUNCTIONAL_TEST_EMAIL
FUNCTIONAL_TEST_NUMBER
EMAIL_TEMPLATE_ID
LETTER_TEMPLATE_ID
SMS_TEMPLATE_ID
# proxy variables used by the tests when run on jenkins
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
NO_PROXY