From 3cce0ff813d5153571057fbd59515fc56663bbf3 Mon Sep 17 00:00:00 2001 From: Gilles Thouenon Date: Wed, 30 Mar 2022 16:06:34 +0200 Subject: [PATCH] Fix pylint issue in pce functional tests JIRA: TRNSPRTPCE-320 Signed-off-by: Gilles Thouenon Change-Id: I51c35b1d8cc4b7a7a7dc5d4f5ff6cd0c0d13548e --- tests/transportpce_tests/pce/test01_pce.py | 2 +- tests/transportpce_tests/pce/test02_pce_400G.py | 2 +- tests/transportpce_tests/pce/test03_gnpy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/transportpce_tests/pce/test01_pce.py b/tests/transportpce_tests/pce/test01_pce.py index dfbd553b0..8e8ad6713 100644 --- a/tests/transportpce_tests/pce/test01_pce.py +++ b/tests/transportpce_tests/pce/test01_pce.py @@ -34,8 +34,8 @@ class TransportPCEtesting(unittest.TestCase): @classmethod def setUpClass(cls): # pylint: disable=bare-except + sample_files_parsed = False try: - sample_files_parsed = False TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "honeynode-topo.xml") with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: diff --git a/tests/transportpce_tests/pce/test02_pce_400G.py b/tests/transportpce_tests/pce/test02_pce_400G.py index cdea9d7bd..db4cb4e29 100644 --- a/tests/transportpce_tests/pce/test02_pce_400G.py +++ b/tests/transportpce_tests/pce/test02_pce_400G.py @@ -33,8 +33,8 @@ class TransportPCE400Gtesting(unittest.TestCase): @classmethod def setUpClass(cls): # pylint: disable=bare-except + sample_files_parsed = False try: - sample_files_parsed = False TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "honeynode-topo400G.json") diff --git a/tests/transportpce_tests/pce/test03_gnpy.py b/tests/transportpce_tests/pce/test03_gnpy.py index 57e129620..cd2d8ceb3 100644 --- a/tests/transportpce_tests/pce/test03_gnpy.py +++ b/tests/transportpce_tests/pce/test03_gnpy.py @@ -36,8 +36,8 @@ class TransportGNPYtesting(unittest.TestCase): @classmethod def setUpClass(cls): # pylint: disable=bare-except + sample_files_parsed = False try: - sample_files_parsed = False TOPO_CLLINET_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "gnpy", "clliNetwork.json") with open(TOPO_CLLINET_FILE, 'r', encoding='utf-8') as topo_cllinet: -- 2.36.6