From a41d5dc9f4efb03b7e7b5c52da0f61c6614c387d Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Thu, 2 Feb 2023 20:05:57 +0100 Subject: [PATCH] Fix pylint issues Signed-off-by: guillaume.lambert Change-Id: I6bdd76c2478859bfc34be3937a60821369c04b3c --- tests/transportpce_tests/2.2.1/test03_topology.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/transportpce_tests/2.2.1/test03_topology.py b/tests/transportpce_tests/2.2.1/test03_topology.py index 2e9652244..838bb4c00 100644 --- a/tests/transportpce_tests/2.2.1/test03_topology.py +++ b/tests/transportpce_tests/2.2.1/test03_topology.py @@ -226,7 +226,7 @@ class TransportPCEtesting(unittest.TestCase): client = 0 network = 0 for tp in node['ietf-network-topology:termination-point']: - tpType = (tp['org-openroadm-common-network:tp-type']) + tpType = tp['org-openroadm-common-network:tp-type'] tpId = tp['tp-id'] if tpType == 'XPONDER-CLIENT': client += 1 @@ -442,7 +442,7 @@ class TransportPCEtesting(unittest.TestCase): client = 0 network = 0 for tp in node['ietf-network-topology:termination-point']: - tpType = (tp['org-openroadm-common-network:tp-type']) + tpType = tp['org-openroadm-common-network:tp-type'] if tpType == 'XPONDER-CLIENT': client += 1 elif tpType == 'XPONDER-NETWORK': -- 2.36.6