X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Ftransportpce_tests%2F2.2.1%2Ftest_end2end.py;h=bc9b3a634b64d191901ae85816601801674af2c3;hb=6fe500a1bf557eb44d22584ac6bf7c924f12c47f;hp=f5013e09327332e9aedf7e81459ae550c2ba7b23;hpb=d9b2da0d29b8da2e1052bc2c653399e68dc767ff;p=transportpce.git diff --git a/tests/transportpce_tests/2.2.1/test_end2end.py b/tests/transportpce_tests/2.2.1/test_end2end.py index f5013e093..bc9b3a634 100644 --- a/tests/transportpce_tests/2.2.1/test_end2end.py +++ b/tests/transportpce_tests/2.2.1/test_end2end.py @@ -8,9 +8,10 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +# pylint: disable=no-member +# pylint: disable=too-many-public-methods import unittest -import json import time import requests from common import test_utils @@ -117,6 +118,7 @@ class TransportPCEFulltesting(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") @@ -514,7 +516,7 @@ class TransportPCEFulltesting(unittest.TestCase): for ele in liste_tp: if ele[u'org-openroadm-common-network:tp-type'] == 'XPONDER-CLIENT': self.assertNotIn('org-openroadm-network-topology:xpdr-client-attributes', dict.keys(ele)) - elif (ele[u'org-openroadm-common-network:tp-type'] == 'XPONDER-NETWORK'): + elif ele[u'org-openroadm-common-network:tp-type'] == 'XPONDER-NETWORK': self.assertIn(u'tail-equipment-id', dict.keys(ele[u'org-openroadm-network-topology:xpdr-network-attributes'])) self.assertNotIn('wavelength', dict.keys(