diff --git a/tests/vendor/synopsys/synplify_pro/test_functions.py b/tests/vendor/synopsys/synplify_pro/test_functions.py index facd23f..56d5f03 100644 --- a/tests/vendor/synopsys/synplify_pro/test_functions.py +++ b/tests/vendor/synopsys/synplify_pro/test_functions.py @@ -5,11 +5,11 @@ from elfws.vendor.synopsys import synplify_pro from tests import test_utils -lLogFile = test_utils.read_file(os.path.join(os.path.dirname(__file__), 'warning_messages.log')) class testFunctions(unittest.TestCase): def test_extract_warnings(self): + lLogFile = test_utils.read_file(os.path.join(os.path.dirname(__file__), 'warning_messages.log')) oWarningList = synplify_pro.extract_warnings(lLogFile) oWarning = oWarningList.warnings[0]