Aufgrund einer Wartung wird GitLab am 17.08. zwischen 8:30 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 17.08. between 8:30 and 9:00 am.

Commit 527e0544 authored by Bichen Li's avatar Bichen Li

- Add error raise function

parent 59d34e22
Pipeline #49318 failed with stage
......@@ -8,8 +8,5 @@ print("Test Start")
# We need to extract all the result files from git now
for files in os.listdir(
if os.path.splitext(files)[0] == "Slack_Rxline_PQLoad":
assert_modelia_neplan_results(os.path.splitext(files)[0]) # Assert the result, model result path read from cmd line
print("Test End")
......@@ -56,7 +56,7 @@ def assert_modelia_neplan_results(net_name): # Assert the model using the funct
for name in fail_list:
print("\033[1;31;40mTest on %s Failed\033[0m" % name)
raise ValueError('Test is not passed!')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment