From: guillaume.lambert Date: Thu, 10 Sep 2020 09:46:42 +0000 (+0200) Subject: convert test_topoPortmapping.py to snake case X-Git-Tag: 2.1.0~28^2~1 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=commitdiff_plain;h=e80cf384691d18cfad40e6c815a72fee8f195c79 convert test_topoPortmapping.py to snake case JIRA: TRNSPRTPCE-320 Signed-off-by: guillaume.lambert Change-Id: I815871de4609c724cffe5f7ccdbcbfa3cab70de9 (cherry picked from commit 9ba30212c854491c400b3702d481013f5b262880) --- diff --git a/tests/transportpce_tests/1.2.1/test_topoPortMapping.py b/tests/transportpce_tests/1.2.1/test_topo_portmapping.py similarity index 100% rename from tests/transportpce_tests/1.2.1/test_topoPortMapping.py rename to tests/transportpce_tests/1.2.1/test_topo_portmapping.py diff --git a/tests/transportpce_tests/2.2.1/test_topoPortMapping.py b/tests/transportpce_tests/2.2.1/test_topo_portmapping.py similarity index 100% rename from tests/transportpce_tests/2.2.1/test_topoPortMapping.py rename to tests/transportpce_tests/2.2.1/test_topo_portmapping.py diff --git a/tox.ini b/tox.ini index eee1ad8d4..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