Improve error reporting in test_wall_opening.py

This commit is contained in:
Thomas Krijnen
2023-04-10 13:13:50 +02:00
parent 09f6992c65
commit 11a515a025
@@ -232,7 +232,7 @@ class TestWallOpenings:
if i == 0 and j == 0:
for ln, st in cs:
assert len([l for l in log if l.startswith(st)]) == ln
assert len([l for l in log if l.startswith(st)]) == ln, f"\nOn file:\n - {fn}\nMessages:" + "".join(f'\n - "{l}"' for l in log) + f"\nExpected:\n - \"{st}\""
# breakpoint()