Fix pylint issue in pce functional tests
[transportpce.git] / tests / transportpce_tests / pce / test03_gnpy.py
index 57e1296204cd5133984575bbf89d1c01ea8d3104..cd2d8ceb39f59b4e36147f4926c7f11916bd31b0 100644 (file)
@@ -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: