Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix more pylint warnings
[transportpce.git]
/
tests
/
transportpce_tests
/
7.1
/
test01_portmapping.py
diff --git
a/tests/transportpce_tests/7.1/test01_portmapping.py
b/tests/transportpce_tests/7.1/test01_portmapping.py
index 7178eaec922a38d9617da8eb44c6558fce4e3bc7..b5317f550fcdd73d4c968a2dc0e8b4959c2abe2c 100644
(file)
--- a/
tests/transportpce_tests/7.1/test01_portmapping.py
+++ b/
tests/transportpce_tests/7.1/test01_portmapping.py
@@
-14,8
+14,11
@@
import unittest
import time
import requests
import unittest
import time
import requests
+# pylint: disable=wrong-import-order
import sys
sys.path.append('transportpce_tests/common')
import sys
sys.path.append('transportpce_tests/common')
+# pylint: disable=wrong-import-position
+# pylint: disable=import-error
import test_utils_rfc8040 # nopep8
import test_utils_rfc8040 # nopep8
@@
-37,6
+40,7
@@
class TransportPCE400GPortMappingTesting(unittest.TestCase):
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
+ # pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
time.sleep(10)
print("execution of {}".format(self.id().split(".")[-1]))
time.sleep(10)