Skip to content
Snippets Groups Projects
Commit 1acf0590 authored by Bichen Li's avatar Bichen Li
Browse files

Add specific error infomation in Validationtools

parent 59d34e22
Branches
Tags
No related merge requests found
......@@ -55,7 +55,8 @@ def assert_modelia_neplan_results(net_name): # Assert the model using the funct
print("\033[1;36;40mModel %s Passed\033[0m" % net_name)
else:
for name in fail_list:
print("\033[1;31;40mTest on %s Failed\033[0m" % name)
print("\033[1;31;40mTest on %s of %s Failed\033[0m" % (name,net_name))
raise ValueError('Test is not passed!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment