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 some pylint issues
[transportpce.git]
/
tests
/
transportpce_tests
/
1.2.1
/
test_end2end.py
diff --git
a/tests/transportpce_tests/1.2.1/test_end2end.py
b/tests/transportpce_tests/1.2.1/test_end2end.py
index 0e8e3041106a88292fa3ad8e78f6f95de023de3b..43c0348130c47a143b76a8c6882a4819758dfe2f 100644
(file)
--- a/
tests/transportpce_tests/1.2.1/test_end2end.py
+++ b/
tests/transportpce_tests/1.2.1/test_end2end.py
@@
-8,8
+8,9
@@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+# pylint: disable=no-member
+# pylint: disable=too-many-public-methods
-import json
import time
import unittest
import time
import unittest
@@
-126,6
+127,7
@@
class TransportPCEFulltesting(unittest.TestCase):
@classmethod
def tearDownClass(cls):
@classmethod
def tearDownClass(cls):
+ # pylint: disable=not-an-iterable
for process in cls.processes:
test_utils.shutdown_process(process)
print("all processes killed")
for process in cls.processes:
test_utils.shutdown_process(process)
print("all processes killed")
@@
-784,7
+786,7
@@
class TransportPCEFulltesting(unittest.TestCase):
def test_46_get_no_oc_services(self):
print("start test")
response = test_utils.get_service_list_request("")
def test_46_get_no_oc_services(self):
print("start test")
response = test_utils.get_service_list_request("")
- self.assertEqual(response.status_code, requests.codes.
not_found
)
+ self.assertEqual(response.status_code, requests.codes.
conflict
)
res = response.json()
self.assertIn(
{
res = response.json()
self.assertIn(
{