X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=zte%2Fvmanager%2Ftox.ini;h=0086ffc321063c15846b62107893489822dda26e;hb=9009b0f9ea2a13bd6898d4b7ca46da5e1c93376a;hp=1677726a3a9a0e19ac6d027013b77351a03ebb35;hpb=910d4b904de77e9be7beb64bebc7b4cf99f97050;p=vfc%2Fnfvo%2Fdriver%2Fvnfm%2Fsvnfm.git diff --git a/zte/vmanager/tox.ini b/zte/vmanager/tox.ini index 1677726a..0086ffc3 100644 --- a/zte/vmanager/tox.ini +++ b/zte/vmanager/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,pep8,cov +envlist = py36,pep8,cov skipsdist = true [testenv] @@ -7,16 +7,18 @@ deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test [flake8] -ignore = E501,W291,E121,F401,W391,E302,E265,E231,F841,E127,E128,E122,E126,E303 +ignore = E501,E722 +exclude = ./venv-tox,./.tox,./venv max-complexity = 12 [testenv:pep8] deps = flake8 commands = flake8 -[testenv:py27] +[testenv:py36] commands = {[testenv]commands} [testenv:cov] -commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov \ No newline at end of file +deps = coverage==4.2 +commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" \ No newline at end of file