--- a/tests/ide_tests/sikuliberemiz.py Thu Nov 10 19:34:44 2022 +0100
+++ b/tests/ide_tests/sikuliberemiz.py Thu Nov 10 19:36:30 2022 +0100
@@ -189,7 +189,7 @@
return res
class BeremizApp(IDEIdleObserver, stdoutIdleObserver):
- def __init__(self, projectpath=None, exemple=None):
+ def __init__(self, projectpath=None, exemple=None, testproject=None):
"""
Starts Beremiz IDE, waits for main window to appear, maximize it.
@@ -224,6 +224,9 @@
command.append(opj(beremiz_path,"exemples",exemple))
elif projectpath is not None:
command.append(projectpath)
+ elif testproject is not None:
+ command.append(opj(beremiz_path,"tests","projects",testproject))
+
# App class is broken in Sikuli 2.0.5: can't start process with arguments.
#