Stub open command so running tests doesn't keep on launching apps

This commit is contained in:
Dion Moult
2026-02-16 18:24:37 +11:00
parent 8cfb162851
commit 8c0bed0c61
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ from bonsai.bim.ifc import IfcStore
# Monkey-patch webbrowser opening since we want to test headlessly
webbrowser.open = lambda x: True
tool.Drawing.open_with_user_command = lambda x, y: True
variables = {"cwd": os.getcwd(), "ifc": "IfcStore.get_file()"}