mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Improve error reporting in test_wall_opening.py
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user