mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +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:
|
if i == 0 and j == 0:
|
||||||
for ln, st in cs:
|
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()
|
# breakpoint()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user