FEM, Tests: Include detailed information in test report after failure
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
7554d2a8a8
commit
b4352a18d1
|
@ -129,6 +129,8 @@ class FemTest(unittest.TestCase):
|
|||
result = ''
|
||||
for l in diff:
|
||||
result += l
|
||||
if result:
|
||||
result = "Comparing {} to {} failed!\n".format(file_name1, file_name2) + result
|
||||
return result
|
||||
|
||||
def compare_stats(self, fea, stat_file=None):
|
||||
|
|
Loading…
Reference in New Issue
Block a user