-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (41 loc) · 782 Bytes
/
tox.ini
File metadata and controls
46 lines (41 loc) · 782 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[testenv:publish]
deps =
-rrequirements.publish.txt
commands =
python setup.py sdist bdist_wheel
twine upload --verbose dist/*
[flake8]
exclude = venv* .tox .env .eggs
max-line-length = 120
[testenv]
deps =
-rrequirements.txt
pytest
requests_mock
ipdb
pdbpp
setenv =
LAS_CLIENT_ID=test
LAS_CLIENT_SECRET=test
LAS_AUTH_ENDPOINT=test
LAS_API_ENDPOINT=http://127.0.0.1:4010
commands =
pytest
[testenv:debug]
deps =
-rrequirements.txt
pytest
requests_mock
ipdb
pdbpp
commands =
pytest -sx {posargs}
[pytest]
addopts = -s
markers =
integration: requires access to API
env =
D:LAS_CLIENT_ID=test
D:LAS_CLIENT_SECRET=test
D:LAS_AUTH_ENDPOINT=test
D:LAS_API_ENDPOINT=http://127.0.0.1:4010