Remove user and passwd when call gvnfm
[vfc/nfvo/driver/vnfm/gvnfm.git] / gvnfmadapter / tox.ini
1 [tox]
2 envlist = py27,pep8,cov
3 skipsdist = true
4  
5 [testenv]
6 deps = -r{toxinidir}/requirements.txt
7 commands = coverage run --branch manage.py test
8
9 [flake8]
10 ignore =  E501,E121,W191,E101,W293,E302,E231,E201,E202,F841,E225,E241,E126,E722,W504
11 exclude = ./venv-tox,./.tox
12 max-complexity = 12
13
14 [testenv:pep8]
15 deps = flake8
16 commands = flake8
17
18 [testenv:py27]
19 commands =
20   {[testenv]commands}
21
22 [testenv:cov]
23 commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"