blob: b9213ba6f287815dbc3e9cab905dae01d93fa1c4 (
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
|
[tox]
envlist = py26,py27,pep8
minversion = 1.6
[testenv]
passenv = LD_LIBRARY_PATH
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_BRANCHES=1
NOSE_COVER_ERASE=1
NOSE_COVER_PACKAGE=gluster
deps =
-r{toxinidir}/test-requirements.txt
commands = nosetests -v {posargs:test/unit}
[testenv:functest]
commands = ./.functests {posargs}
[testenv:pep8]
commands =
flake8 {posargs:gluster test setup.py}
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
NOSE_COVER_BRANCHES=1
[testenv:venv]
commands = {posargs}
[flake8]
ignore = H
builtins = _
exclude = .venv,.tox,dist,doc,test,*egg
show-source = True
|