diff --git a/Assert_Results.py b/Assert_Results.py index 3536850995c14a5f498e2b0790cdb55362d68d6a..18d1f0d127b98c475e3d9d33330fb9af7cc7c8e8 100644 --- a/Assert_Results.py +++ b/Assert_Results.py @@ -8,6 +8,8 @@ print("Test Start") # We need to extract all the result files from git now for files in os.listdir( os.path.abspath("reference-results/Neplan/BasicGrids")): - if files is not "Slack_Rxline_PQLoad": + if os.path.splitext(files)[0] == "Slack_Rxline_PQLoad": + pass + else: assert_modelia_neplan_results(os.path.splitext(files)[0]) # Assert the result, model result path read from cmd line print("Test End")