blob: d84566ca2581ee015c05a45ba97a5f9a58707d63 (
plain)
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
46
47
48
49
50
51
52
53
|
[tox]
envlist = py27
skipsdist=True
[testenv]
basepython = python2.7
commands = py.test --cov-report=html \
--cov-report=term \
--cov=leap.soledad \
{posargs}
usedevelop = True
deps =
coverage
pytest
pytest-cov
pytest-twisted
mock
testscenarios
setuptools-trial
pdbpp
couchdb
requests
service_identity
# install soledad local packages
-e../common
-e../client
-e../server
setenv =
HOME=/tmp
TERM=xterm
install_command = pip install {opts} {packages}
[testenv:perf]
deps =
{[testenv]deps}
pytest-benchmark
commands = py.test tests/perf {posargs}
[testenv:code-check]
changedir = ..
deps =
pep8
flake8
commands =
pep8
flake8
[testenv:parallel]
deps =
{[testenv]deps}
pytest-xdist
install_command = pip install {opts} {packages}
commands = py.test {posargs} -n 4
|