X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=zte%2Fvmanager%2Ftox.ini;h=0086ffc321063c15846b62107893489822dda26e;hb=9009b0f9ea2a13bd6898d4b7ca46da5e1c93376a;hp=dce819a1ccd4207ab556af92e54c99e43ee0bd52;hpb=f2d4091d392ff342207a31b73bb3805b1fce9a7b;p=vfc%2Fnfvo%2Fdriver%2Fvnfm%2Fsvnfm.git diff --git a/zte/vmanager/tox.ini b/zte/vmanager/tox.ini index dce819a1..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,E722 +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