Fix some pylint warnings 68/98668/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 24 Nov 2021 08:40:30 +0000 (09:40 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 30 Nov 2021 10:11:22 +0000 (10:11 +0000)
JIRA: TRNSPRTPCE-320
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Idc241d222c0b52ce90318f1b63f6f9e0fc3b114b

29 files changed:
tests/transportpce_tests/1.2.1/test01_portmapping.py
tests/transportpce_tests/1.2.1/test02_topo_portmapping.py
tests/transportpce_tests/1.2.1/test03_topology.py
tests/transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py
tests/transportpce_tests/1.2.1/test05_olm.py
tests/transportpce_tests/1.2.1/test06_end2end.py
tests/transportpce_tests/2.2.1/test01_portmapping.py
tests/transportpce_tests/2.2.1/test02_topo_portmapping.py
tests/transportpce_tests/2.2.1/test03_topology.py
tests/transportpce_tests/2.2.1/test04_otn_topology.py
tests/transportpce_tests/2.2.1/test05_flex_grid.py
tests/transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py
tests/transportpce_tests/2.2.1/test07_otn_renderer.py
tests/transportpce_tests/2.2.1/test08_otn_sh_renderer.py
tests/transportpce_tests/2.2.1/test09_olm.py
tests/transportpce_tests/2.2.1/test10_tapi.py
tests/transportpce_tests/2.2.1/test11_otn_end2end.py
tests/transportpce_tests/2.2.1/test12_end2end.py
tests/transportpce_tests/2.2.1/test13_tapi_full_multi_layer.py
tests/transportpce_tests/2.2.1/test14_otn_switch_end2end.py
tests/transportpce_tests/7.1/test01_portmapping.py
tests/transportpce_tests/common/test_utils.py
tests/transportpce_tests/common/test_utils_rfc8040.py
tests/transportpce_tests/hybrid/test01_device_change_notifications.py
tests/transportpce_tests/hybrid/test02_B100G_end2end.py
tests/transportpce_tests/pce/test01_pce.py
tests/transportpce_tests/pce/test02_pce_400G.py
tests/transportpce_tests/with_docker/test01_gnpy.py
tests/transportpce_tests/with_docker/test02_nbinotifications.py

index 013004c379f155a84bee47b05d399976ca5d5759..e94852fdb5138b9b63a8625eb1b8e03189db8c91 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils_rfc8040  # nopep8
 
 
index 093f9a8093c5392835f8d678bd674ddb332fea1c..a2f88b5f6ad8b4d6547f6d4ec542d444fa64ba83 100644 (file)
 import time
 import unittest
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils_rfc8040  # nopep8
 
 
index 34e7c3945613e2b555b0e170368249f24f5d47ea..850867cbf323e0a151b50ee3f00876c3ee3662e0 100644 (file)
 import time
 import unittest
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 37261ad560020ce05af83458031931eb7d549600..c6390cffbf2172875fe214595290244bdf7d5fd3 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index e6f43e7fa7f0c4fa00117902921f2ec3355cd00f..19473bd8bcacc9d663656676e9f1cf63069561ba 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 9d9fe8c3a52c4df512315abf976c0b92a0c68e2b..f33eeccc6164cc33e8fd3588ca724288d77e9288 100644 (file)
@@ -15,8 +15,11 @@ import base64
 import time
 import unittest
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index a48709dbb37075708f18010efb8ca76715775a68..f5f38e0b453e5eb80a7da901526b9c926c6458fd 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils_rfc8040  # nopep8
 
 
index a2b8bf189ea7bae7f4a22180d09603cf77912046..6051f7e53cdea54d7a31285d3664659229cb6178 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils_rfc8040  # nopep8
 
 
index 3ba43d79cdcf7ba9604e35d33984ef58bc0aaad9..d61526cc5e75d455f45e501dbaf9ade9013df274 100644 (file)
@@ -17,8 +17,11 @@ import unittest
 import time
 import logging
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 018a92f6172992a5986af3000d8271921783222f..5e9b3b85802177a2312be8aa485c03ff7a5eefc1 100644 (file)
@@ -16,8 +16,11 @@ import unittest
 import time
 import logging
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 2719a91f3c2288ff887d43d58244cadeaf03d40c..7c3dbff45d09c1ed8c5c5e73c69222350f8bdf4d 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 853daed46858cd528e22c90ba61a091fc4d5b6cf..1abc1e31d496099f0a996b8bded4a3fedd3f1adc 100644 (file)
 import unittest
 # from unittest.result import failfast
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 3139986a00299c545fe8b4d016aa6a188276915c..3089c7fc6c22788d049497846fd81009c3d69c07 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index dbfbec5f631fd802a0b68967132602f82b2b3dba..18c4516287c2d39d57d8a44cd3f4f99b0a15aa96 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 8672fcbb3d9ef99c1fa163a590580c4be818a925..37c41670a63f5adc60602c95d3b770522f36c186 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 9251c2acb697283779f69758c414e2bd70ce8043..cbc6e857a967216ac011cc10a7f8525c301aa66f 100644 (file)
 # pylint: disable=unsupported-assignment-operation
 
 import os
+# pylint: disable=wrong-import-order
 import sys
 import time
 import unittest
 import requests
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 385887c47d2e302ed3ae588682d047785b988cd0..5237668f1d4390f2c48265e325173f365dd3a0da 100644 (file)
 
 # pylint: disable=no-member
 # pylint: disable=too-many-public-methods
+# pylint: disable=too-many-lines
 
 import base64
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
@@ -1047,6 +1051,7 @@ class TransportPCEtesting(unittest.TestCase):
         time.sleep(2)
 
     def test_66_create_OCH_OTU4_service_2(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service2-OCH-OTU4"
         self.cr_serv_sample_data["input"]["connection-type"] = "infrastructure"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-rate"] = "100"
@@ -1086,6 +1091,7 @@ class TransportPCEtesting(unittest.TestCase):
         time.sleep(2)
 
     def test_68_create_ODU4_service_2(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service2-ODU4"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-format"] = "ODU"
         self.cr_serv_sample_data["input"]["service-a-end"]["tx-direction"]["port"]["port-device-name"] = "SPDR-SA1-XPDR3"
@@ -1125,6 +1131,7 @@ class TransportPCEtesting(unittest.TestCase):
         time.sleep(2)
 
     def test_70_create_1GE_service(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service1-1GE"
         self.cr_serv_sample_data["input"]["connection-type"] = "service"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-rate"] = "1"
index 97ee94d1b7753c1c3efda9316c4d058856e76a2b..333244a7f039ee7b20ad653ee02a67fb2c0a2483 100644 (file)
@@ -15,8 +15,11 @@ import base64
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 4901b377c6c4bf88e290d65b9026b0dee9fe5148..37318b08a019c994ec56d51530bbde2b8c140dca 100644 (file)
@@ -16,8 +16,11 @@ import os
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
@@ -293,6 +296,7 @@ class TransportPCEtesting(unittest.TestCase):
 
 # test create connectivity service from spdrA to spdrC for odu
     def test_17_create_connectivity_service_ODU(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["end-point"][0]["layer-protocol-name"] = "ODU"
         self.cr_serv_sample_data["input"]["end-point"][0]["service-interface-point"]["service-interface-point-uuid"] = "eecbfa6e-57ab-3651-9606-c22c8ce73f18"
         self.cr_serv_sample_data["input"]["end-point"][1]["layer-protocol-name"] = "ODU"
@@ -344,6 +348,7 @@ class TransportPCEtesting(unittest.TestCase):
 
 # test create connectivity service from spdrA to spdrC for dsr
     def test_19_create_connectivity_service_DSR(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["end-point"][0]["layer-protocol-name"] = "DSR"
         self.cr_serv_sample_data["input"]["end-point"][0]["service-interface-point"]["service-interface-point-uuid"] = "c14797a0-adcc-3875-a1fe-df8949d1a2d7"
         self.cr_serv_sample_data["input"]["end-point"][1]["layer-protocol-name"] = "DSR"
index 2c4f46f43779cf3f4272a88d3131e9df811c5dfb..4f87063eba7aa4e14e6576f74f47e57dbaadcaf3 100644 (file)
 
 # pylint: disable=no-member
 # pylint: disable=too-many-public-methods
+# pylint: disable=too-many-lines
 
 import base64
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
@@ -593,6 +597,7 @@ class TransportPCEtesting(unittest.TestCase):
 
 # test service-create for OCH-OTU4 service from spdrB to spdrC
     def test_35_create_OCH_OTU4_service_BC(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service-OCH-OTU4-BC"
         self.cr_serv_sample_data["input"]["service-a-end"]["node-id"] = "SPDR-SB1"
         self.cr_serv_sample_data["input"]["service-a-end"]["clli"] = "NodeSB"
@@ -823,6 +828,7 @@ class TransportPCEtesting(unittest.TestCase):
 
 # test service-create for 100GE service from spdrA to spdrC via spdrB
     def test_46_create_100GE_service_ABC(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service-100GE-ABC"
         self.cr_serv_sample_data["input"]["connection-type"] = "service"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-format"] = "Ethernet"
@@ -1344,6 +1350,7 @@ class TransportPCEtesting(unittest.TestCase):
         self.assertEqual(response.status_code, requests.codes.created)
 
     def test_83_create_OCH_OTU4_service_AC(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service-OCH-OTU4-AC"
         self.cr_serv_sample_data["input"]["connection-type"] = "infrastructure"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-rate"] = "100"
@@ -1384,6 +1391,7 @@ class TransportPCEtesting(unittest.TestCase):
 
 # test service-create for 100GE service from spdrA to spdrC via spdrB
     def test_85_create_100GE_service_AC(self):
+        # pylint: disable=line-too-long
         self.cr_serv_sample_data["input"]["service-name"] = "service-100GE-AC"
         self.cr_serv_sample_data["input"]["connection-type"] = "service"
         self.cr_serv_sample_data["input"]["service-a-end"]["service-format"] = "Ethernet"
index 7178eaec922a38d9617da8eb44c6558fce4e3bc7..38971fd268eafb54e86403156a13ac375ed56308 100644 (file)
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils_rfc8040  # nopep8
 
 
index d5118149b0816a022b83040eeea715af8aa07859..95388ac6ffbc4f016543e5f94acb94d198bb43f8 100644 (file)
@@ -13,6 +13,7 @@
 
 import json
 import os
+# pylint: disable=wrong-import-order
 import sys
 import re
 import signal
@@ -22,6 +23,7 @@ import time
 import psutil
 import requests
 
+# pylint: disable=import-error
 import simulators
 
 SIMS = simulators.SIMS
index 5093ebcf5429f72c94a76faf58196805d452f630..61506ed83771d4eae788d5941a69f46c35669575 100644 (file)
@@ -13,6 +13,7 @@
 
 import json
 import os
+# pylint: disable=wrong-import-order
 import sys
 import re
 import signal
@@ -22,6 +23,7 @@ import time
 import psutil
 import requests
 
+# pylint: disable=import-error
 import simulators
 
 SIMS = simulators.SIMS
index d2e86838bf3d2896d5ecd6dd7ce4600ea6d455bd..b34204ba5a9f521a2ebcca7268068710f44b8d96 100644 (file)
@@ -14,8 +14,11 @@ import json
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index db0a67c1e61e2b768ea02005b679683860fcbe79..e1236c1fb92640a1c5c17bb7690cd35139a9042e 100644 (file)
 
 # pylint: disable=no-member
 # pylint: disable=too-many-public-methods
+# pylint: disable=too-many-lines
 
 import base64
 import unittest
 import time
 import requests
+# pylint: disable=wrong-import-order
 import sys
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 18f552460606c8cfb409f031425fedf1f0f7e6ed..7c6771b337957de4820aa49e25013c7e49583388 100644 (file)
 
 import unittest
 import os
+# pylint: disable=wrong-import-order
 import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 7be2c48c684864c412e12f278d1fc7bbcf9dc948..576ffdadb2e1a0a81fdaf46db039f4600cfcfe12 100644 (file)
 
 import unittest
 import os
+# pylint: disable=wrong-import-order
 import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
@@ -31,27 +34,32 @@ class TransportPCE400Gtesting(unittest.TestCase):
         try:
             sample_files_parsed = False
             TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
-                                            "..", "..", "sample_configs", "honeynode-topo400G.json")
+                                            "..", "..", "sample_configs",
+                                            "honeynode-topo400G.json")
             with open(TOPO_BI_DIR_FILE, 'r') as topo_bi_dir:
                 cls.topo_bi_dir_data = topo_bi_dir.read()
 
             OTN_TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
-                                                "..", "..", "sample_configs", "honeynode-otntopo400G.json")
+                                                "..", "..", "sample_configs",
+                                                "honeynode-otntopo400G.json")
             with open(OTN_TOPO_BI_DIR_FILE, 'r') as otn_topo_bi_dir:
                 cls.otn_topo_bi_dir_data = otn_topo_bi_dir.read()
 
             OTUC4_OTN_TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
-                                                      "..", "..", "sample_configs", "honeynode-otntopo400GwithOTUC4.json")
+                                                      "..", "..", "sample_configs",
+                                                      "honeynode-otntopo400GwithOTUC4.json")
             with open(OTUC4_OTN_TOPO_BI_DIR_FILE, 'r') as otuc4_otn_topo_bi_dir:
                 cls.otuc4_otn_topo_bi_dir_data = otuc4_otn_topo_bi_dir.read()
 
             ODUC4_OTN_TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
-                                                      "..", "..", "sample_configs", "honeynode-otntopo400GwithODUC4.json")
+                                                      "..", "..", "sample_configs",
+                                                      "honeynode-otntopo400GwithODUC4.json")
             with open(ODUC4_OTN_TOPO_BI_DIR_FILE, 'r') as oduc4_otn_topo_bi_dir:
                 cls.oduc4_otn_topo_bi_dir_data = oduc4_otn_topo_bi_dir.read()
 
             PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
-                                             "..", "..", "sample_configs", "pce_portmapping_71.json")
+                                             "..", "..", "sample_configs",
+                                             "pce_portmapping_71.json")
             with open(PORT_MAPPING_FILE, 'r') as port_mapping:
                 cls.port_mapping_data = port_mapping.read()
             sample_files_parsed = True
@@ -136,13 +144,17 @@ class TransportPCE400Gtesting(unittest.TestCase):
     # Path Computation success
     def test_05_path_computation_OTUC4_xpdr_bi(self):
         response = test_utils.path_computation_request("request-1", "service-OTUC4",
-                                                       {"service-rate": "400", "clli": "NodeA",
-                                                           "service-format": "OTU", "node-id": "XPDR-A2",
-                                                           "rx-direction": {"port": {"port-device-name": "XPDR-A2-XPDR2"}}
+                                                       {"service-rate": "400",
+                                                        "clli": "NodeA",
+                                                        "service-format": "OTU",
+                                                        "node-id": "XPDR-A2",
+                                                        "rx-direction": {"port": {"port-device-name": "XPDR-A2-XPDR2"}}
                                                         },
-                                                       {"service-rate": "400", "clli": "NodeC",
-                                                           "service-format": "OTU", "node-id": "XPDR-C2",
-                                                           "rx-direction": {"port": {"port-device-name": "XPDR-C2-XPDR2"}}
+                                                       {"service-rate": "400",
+                                                        "clli": "NodeC",
+                                                        "service-format": "OTU",
+                                                        "node-id": "XPDR-C2",
+                                                        "rx-direction": {"port": {"port-device-name": "XPDR-C2-XPDR2"}}
                                                         })
         self.assertEqual(response.status_code, requests.codes.ok)
         res = response.json()
@@ -181,13 +193,17 @@ class TransportPCE400Gtesting(unittest.TestCase):
     # Path Computation success
     def test_07_path_computation_ODUC4_xpdr_bi(self):
         response = test_utils.path_computation_request("request-1", "service-ODUC4",
-                                                       {"service-rate": "400", "clli": "NodeA", "service-format": "ODU",
-                                                           "node-id": "XPDR-A2",
-                                                           "tx-direction": {"port": {"port-device-name": "XPDR-A2-XPDR2"}}
+                                                       {"service-rate": "400",
+                                                        "clli": "NodeA",
+                                                        "service-format": "ODU",
+                                                        "node-id": "XPDR-A2",
+                                                        "tx-direction": {"port": {"port-device-name": "XPDR-A2-XPDR2"}}
                                                         },
-                                                       {"service-rate": "400", "clli": "NodeC", "service-format": "ODU",
-                                                           "node-id": "XPDR-C2",
-                                                           "tx-direction": {"port": {"port-device-name": "XPDR-C2-XPDR2"}}
+                                                       {"service-rate": "400",
+                                                        "clli": "NodeC",
+                                                        "service-format": "ODU",
+                                                        "node-id": "XPDR-C2",
+                                                        "tx-direction": {"port": {"port-device-name": "XPDR-C2-XPDR2"}}
                                                         })
         self.assertEqual(response.status_code, requests.codes.ok)
         res = response.json()
@@ -214,11 +230,15 @@ class TransportPCE400Gtesting(unittest.TestCase):
     # Path Computation success
     def test_09_path_computation_100G_xpdr_bi(self):
         response = test_utils.path_computation_request("request-1", "service-100GE",
-                                                       {"service-rate": "100", "clli": "NodeA", "service-format": "Ethernet",
+                                                       {"service-rate": "100",
+                                                        "clli": "NodeA",
+                                                        "service-format": "Ethernet",
                                                         "node-id": "XPDR-A2",
                                                         "tx-direction": {"port": {"port-device-name": "XPDR-A2-XPDR2",
                                                                                   "port-name": "XPDR2-CLIENT1"}}},
-                                                       {"service-rate": "100", "clli": "NodeC", "service-format": "Ethernet",
+                                                       {"service-rate": "100",
+                                                        "clli": "NodeC",
+                                                        "service-format": "Ethernet",
                                                         "node-id": "XPDR-C2",
                                                         "tx-direction": {"port": {"port-device-name": "XPDR-C2-XPDR2",
                                                                                   "port-name": "XPDR2-CLIENT1"}}})
index 0fae049f63d712ab585b9b3fffaf19211b955488..2ca0dd0d2dfc734da4ac8d4955ce6e50304e8177 100644 (file)
 
 import unittest
 import os
+# pylint: disable=wrong-import-order
 import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8
 
 
index 2c01853bff135a325d2b47ffd93d108df3a0dac6..2d7edd617f4e735f6073c07a15be978dd7a42154 100644 (file)
 
 import os
 import json
+# pylint: disable=wrong-import-order
 import sys
 import unittest
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
 import test_utils  # nopep8