Ignore python local imports in PEP8 linters 16/98216/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 29 Oct 2021 09:30:37 +0000 (11:30 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 22 Nov 2021 11:41:13 +0000 (12:41 +0100)
To work correctly, test_utils imports must be after
sys.path.append('transportpce_tests/common/')

The "  # nopep8" comment prevents autopep8 to move them before.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ifb91716a94acf20732ffc2e0f625b32b79c874d6

27 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/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 6a9f9fc47ce60456df272647795f3819906e35be..47c8a56ac98c62fa1ab2967bfcd92bc4e85c2ed6 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEPortMappingTesting(unittest.TestCase):
@@ -243,5 +243,6 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
             res['errors']['error'])
 
 
+
 if __name__ == "__main__":
     unittest.main(verbosity=2)
index 9390c26a6839384c3ea45d4e1115d47daef962c8..9cfad63eb3863c227c79ea78e53d196cb9fdf4a9 100644 (file)
@@ -19,7 +19,7 @@ import unittest
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 6140f0eca117ee2bd4c9f4ff03f3e8c815a6eafe..34e7c3945613e2b555b0e170368249f24f5d47ea 100644 (file)
@@ -18,7 +18,7 @@ import unittest
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCETopologyTesting(unittest.TestCase):
index 3a3368fe43a3905975588351dc15aa8812624c95..356676904674d25b1dedb57cff2259dfadf7aa6a 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCERendererTesting(unittest.TestCase):
index 0443b5ca16773293704aa196915755b6ccde5c0a..e6f43e7fa7f0c4fa00117902921f2ec3355cd00f 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportOlmTesting(unittest.TestCase):
index aba898bf9acdf25d5321e0f7242a37fa0f73407c..637addeed08a073b015a28114048d9706bb58e53 100644 (file)
@@ -17,7 +17,7 @@ import unittest
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEFulltesting(unittest.TestCase):
index 9316b20b616f0ecad66f564db5d9ab3de87d2f07..4381ba0cd481b54e4992a382f8a6f2eb4cd020da 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEPortMappingTesting(unittest.TestCase):
index d749323b9879ac7b6e1ddfc4315f0e67b982e759..76c2aae4c54c74a66d47bb49fd6066e248652d7c 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 88853118b4384ac3a924444f0e3c1638d27deeba..3ba43d79cdcf7ba9604e35d33984ef58bc0aaad9 100644 (file)
@@ -19,7 +19,7 @@ import logging
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 4ca1e226b54bf896eaa49be50b53f13378f83d6d..018a92f6172992a5986af3000d8271921783222f 100644 (file)
@@ -18,7 +18,7 @@ import logging
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 31b64cabe45b9081d61aaee54f4618ecc3f4047a..c82a0243f86840e1ad3e85862e74162254cc92b1 100644 (file)
@@ -14,7 +14,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEPortMappingTesting(unittest.TestCase):
index c4f263da40b9667232d108b44c62356ee8c88df2..0b0592c1896d624bf3cb44768c206bd2acd07682 100644 (file)
@@ -17,7 +17,7 @@ import unittest
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCERendererTesting(unittest.TestCase):
index d6f47f7d74bf5f423b003ec4f3e582069a486fa7..df3f4eeaf8f0c4d4dac0c1c7539dfc5a1eae7ac9 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 44e2e8fef7b3351a1d1a5b21bf4a6bf65a73f333..cf358f2207c7913ee2b20cb842e99750c90e50c4 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 4c5316963d449adfaa8d94ae85cdd9951d1712ae..8672fcbb3d9ef99c1fa163a590580c4be818a925 100644 (file)
@@ -17,7 +17,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportOlmTesting(unittest.TestCase):
index 6721a3501df59c841c9541d2c71e8020b6b745c3..9251c2acb697283779f69758c414e2bd70ce8043 100644 (file)
@@ -20,7 +20,7 @@ import time
 import unittest
 import requests
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 CREATED_SUCCESSFULLY = 'Result message should contain Xponder Roadm Link created successfully'
index 9ffbd62f040911772681d7b0141e05eda161560a..d62719b485d087b1d65dcaeedb478ede743b8e3c 100644 (file)
@@ -18,7 +18,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 422f525965caefca34f5da73f54b7591edb414ca..c8011b0d76a86aca8f2c6ca3eb8b25a394ec5e70 100644 (file)
@@ -17,7 +17,8 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportPCEFulltesting(unittest.TestCase):
 
index 15af6f3fdf35d007a7724a11a3b45161825fe5a9..b25d96c48c9c36137ab03e6d1598ce790fefcc72 100644 (file)
@@ -18,7 +18,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index 700dcf08bb47ebe8eae51e65e940dac436235f9c..110111e3e00b12b94bb73e0f8a33ab4814efbc59 100644 (file)
@@ -18,7 +18,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCEtesting(unittest.TestCase):
index da909364f59760efe88f5e9876639a98697db488..8fa07397d6dd4d9c0bd0a1c9776e8ce6b176549c 100644 (file)
@@ -16,7 +16,7 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common')
-import test_utils
+import test_utils  # nopep8
 
 
 class TransportPCE400GPortMappingTesting(unittest.TestCase):
index 10a309ef7242158f170af63886c4d104e79bf9cf..d2e86838bf3d2896d5ecd6dd7ce4600ea6d455bd 100644 (file)
@@ -16,7 +16,8 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportPCEFulltesting(unittest.TestCase):
 
index f6e4e3a983775a3c7a2de00da20ac92edc0a6391..856713da0dd0239bb77d6f5597152684c22aa4dd 100644 (file)
@@ -18,7 +18,8 @@ import time
 import requests
 import sys
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportPCEtesting(unittest.TestCase):
 
index f54a5caaf82d2a5227e9713c5378e665918c3a90..18f552460606c8cfb409f031425fedf1f0f7e6ed 100644 (file)
@@ -17,7 +17,8 @@ import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportPCEtesting(unittest.TestCase):
 
index d852d5bc7896a843581df31dd18450f40836088a..7be2c48c684864c412e12f278d1fc7bbcf9dc948 100644 (file)
@@ -17,7 +17,8 @@ import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportPCE400Gtesting(unittest.TestCase):
 
index c9fceb4d344d9ac6e90135100458b1403036224e..0fae049f63d712ab585b9b3fffaf19211b955488 100644 (file)
@@ -18,7 +18,8 @@ import sys
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportGNPYtesting(unittest.TestCase):
 
index 45681f68437ffa29c41a036c7bdd781c961a18a2..2c01853bff135a325d2b47ffd93d108df3a0dac6 100644 (file)
@@ -18,7 +18,8 @@ import unittest
 import time
 import requests
 sys.path.append('transportpce_tests/common/')
-import test_utils
+import test_utils  # nopep8
+
 
 class TransportNbiNotificationstesting(unittest.TestCase):
     processes = None