Fix crop starter test

parent 102ed617
......@@ -78,7 +78,8 @@
ov_binany_path +<span class="str">"/share/openvibe/scenarios/box-tutorials/crop.xml"</span>)
<span class="kw">while</span> <span class="kw">not</span> self.terminal.window():
<span class="skw">wait</span>(<span class="dig">1</span>)
<span class="kw">def</span> testRunOgreVisual(self):
<span class="skw">wait</span>(Pattern(<img src="scenarioScreen.png" />).similar(<span class="dig">0.50</span>),<span class="dig">10</span>)
<span class="kw">def</span> testRunCrop(self):
<span class="kw">assert</span>(exists(<img src="timesignal.png" />))
<span class="kw">def</span> tearDown(self):
<span class="kw">if</span> self.terminal.window():
......
......@@ -6,7 +6,8 @@ def setUp(self):
ov_binany_path +"/share/openvibe/scenarios/box-tutorials/crop.xml")
while not self.terminal.window():
wait(1)
def testRunOgreVisual(self):
wait(Pattern("scenarioScreen.png").similar(0.50),10)
def testRunCrop(self):
assert(exists("timesignal.png"))
def tearDown(self):
if self.terminal.window():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment