""" This test opens, builds and runs exemple project named "python".
Test succeeds if runtime's stdout behaves as expected
# allow module import from current test directory's parent
addImportPath(os.path.dirname(getBundlePath()))
# common test definitions module
from sikuliberemiz import *
app = BeremizApp(exemple="python")
app.waitForChangeAndIdleStdout()
app.waitForChangeAndIdleStdout()
app.waitForChangeAndIdleStdout()
app.waitForChangeAndIdleStdout()
# wait 10 seconds for 10 Grumpfs
found = app.waitPatternInStdout("Grumpf", 10, 10)