X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blobdiff_plain;f=tests%2Ftransportpce_tests%2F1.2.1%2Ftest_topoPortMapping.py;h=683b04a48649fa5e491d09d3b21f8c05b8a20f41;hp=48b501fa724db82092e5cec6b48a53b2ce25cf2e;hb=6fe500a1bf557eb44d22584ac6bf7c924f12c47f;hpb=3492e0ddd262c793fa03b1fcd8738ba9cded6ea5 diff --git a/tests/transportpce_tests/1.2.1/test_topoPortMapping.py b/tests/transportpce_tests/1.2.1/test_topoPortMapping.py index 48b501fa7..683b04a48 100644 --- a/tests/transportpce_tests/1.2.1/test_topoPortMapping.py +++ b/tests/transportpce_tests/1.2.1/test_topoPortMapping.py @@ -11,6 +11,8 @@ # pylint: disable=no-member # pylint: disable=too-many-public-methods +# a pylint false positive due to unittest +# pylint: disable=no-self-use import time import unittest @@ -29,6 +31,7 @@ class TransportPCEtesting(unittest.TestCase): @classmethod def tearDownClass(cls): + # pylint: disable=not-an-iterable for process in cls.processes: test_utils.shutdown_process(process) print("all processes killed") @@ -42,7 +45,7 @@ class TransportPCEtesting(unittest.TestCase): self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) # Verify the termination points of the ROADMA - def test_02_compareOpenroadmTopologyPortMapping_rdm(self): + def test_02_compare_Openroadm_topology_portmapping_rdm(self): responseTopo = test_utils.get_ordm_topo_request("") resTopo = responseTopo.json() nbNode = len(resTopo['network'][0]['node']) @@ -67,8 +70,8 @@ class TransportPCEtesting(unittest.TestCase): self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) # #Verify the termination points related to XPDR - def test_05_compareOpenroadmTopologyPortMapping_xpdr(self): - self.test_02_compareOpenroadmTopologyPortMapping_rdm() + def test_05_compare_Openroadm_topology_portmapping_xpdr(self): + self.test_02_compare_Openroadm_topology_portmapping_rdm() # Disconnect the XPDRA def test_06_disconnect_device(self):