X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=fd6763d5f61c5f4a292815a9df3db009be151f83;hb=2df235e965f3b4ff99f2e7bfc5a2911869c97c03;hp=659e6913bfbea6f4690c94453ca03da7b1bdbd46;hpb=a2b82af2f372a082d1d76ea261b2af54c86a2200;p=transportpce.git diff --git a/tox.ini b/tox.ini index 659e6913b..fd6763d5f 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,7 @@ commands = {py3,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end,portmapping221,rspn221,otnrenderer,otnshrenderer,topology221,otntopology,olm221,tapi221,otnend2end,end2end221,gnpy}: - sh -c 'if [ "$USE_LIGHTY" = "True" ]; then (cd ../lighty && ./build.sh); fi' #run 1.2.1 functional tests {py3,portmapping}: nosetests --with-xunit transportpce_tests/1.2.1/test_portmapping.py - {py3,topoPortMapping}: nosetests --with-xunit transportpce_tests/1.2.1/test_topoPortMapping.py + {py3,topoPortMapping}: nosetests --with-xunit transportpce_tests/1.2.1/test_topo_portmapping.py {py3,topology}: nosetests --with-xunit transportpce_tests/1.2.1/test_topology.py {py3,rspn}: nosetests --with-xunit transportpce_tests/1.2.1/test_renderer_service_path_nominal.py {py3,pce}: nosetests --with-xunit transportpce_tests/1.2.1/test_pce.py @@ -54,7 +54,7 @@ commands = {py3,tapi221}: nosetests --with-xunit transportpce_tests/2.2.1/test_tapi.py {py3,otnend2end}: nosetests --with-xunit transportpce_tests/2.2.1/test_otn_end2end.py {py3,end2end}: nosetests --with-xunit transportpce_tests/1.2.1/test_end2end.py - {py3,otnend2end}: nosetests --with-xunit transportpce_tests/2.2.1/test_end2end.py + {py3,end2end221}: nosetests --with-xunit transportpce_tests/2.2.1/test_end2end.py #{gnpy}: - sudo docker pull atriki/gnpyrest:v1.2 {gnpy}: - sudo docker run -d -p 8008:5000 --name gnpy_tpce_rest1 atriki/gnpyrest:v1.2 {gnpy}: nosetests --with-xunit transportpce_tests/1.2.1/test_gnpy.py @@ -84,4 +84,4 @@ basepython = python3 deps = pylint whitelist_externals = find commands = - find transportpce_tests/ -name *.py -exec pylint --max-line-length=120 --disable=missing-docstring --reports=y --score=y --output-format=colorized \{\} + + find transportpce_tests/ -name *.py -exec pylint --max-line-length=120 --disable=missing-docstring --method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$" --variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$" --reports=y --score=y --output-format=colorized \{\} +