summaryrefslogtreecommitdiff
path: root/testing/tox.ini
blob: 246f63fa7ac80ecc6e571b0993a3c7c5ed1f8d0e (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
[tox]
envlist = py27,pep8

[testenv]
commands = py.test {posargs}
changedir = tests
deps =
    pytest
    pytest-twisted
    mock
    testscenarios
    setuptools-trial
    pep8
    pdbpp
    couchdb
    requests
# install soledad local packages
    -e../common
    -e../client
    -e../server
setenv =
    HOME=/tmp
    TERM=xterm
install_command = pip install {opts} {packages}

[testenv:pep8]
changedir = ..
deps = pep8
commands = pep8 {posargs} client server common