Fix pylint issue in pce functional tests
[transportpce.git] / tests / transportpce_tests / pce / test01_pce.py
index dfbd553b0233806ae0f0e195d050c025555dca0e..8e8ad6713b73a0775445a6ea38c15319577d29ee 100644 (file)
@@ -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: