Update failing tests

This commit is contained in:
Dion Moult
2025-03-13 22:07:00 +11:00
parent 3852e3c63f
commit 609f468ce1
3 changed files with 25 additions and 11 deletions
+1 -2
View File
@@ -566,8 +566,7 @@ def i_click_button(button):
# Clicked confirm on an operator's draw dialog
return i_press_operator(panel_spy.panel.bl_idname)
debug = "\n".join([f"{i} {v}" for i, v in enumerate(panel_spy.spied_operators)])
if not debug:
debug = f"No buttons were found, here is the text we see: {panel_spy.spied_labels}"
debug += f"\nHere is the text we see: {panel_spy.spied_labels}"
assert False, f"Could not find {button}:\n{debug}"