Commit 82f14f90 authored by payno's avatar payno

[test_scenarii] wait for iteration to be finished, otherwise CI might fail (iteration not finished)

parent e9420648
Pipeline #9999 passed with stage
......@@ -152,7 +152,7 @@ class FluoProject(ScenarioProject):
algoName = list(reconsAlg)[0]
self.assertTrue(len(reconsAlg[algoName].getPhantom().ravel()) is 0)
widget.iterate()
widget.iterate(wait=True)
qt.QApplication.instance().processEvents()
self.assertFalse(numpy.array_equal(
reconsAlg[algoName].getPhantom(),
......@@ -185,7 +185,7 @@ class FluoProject(ScenarioProject):
algoName = list(reconsAlg)[0]
self.assertTrue(len(reconsAlg[algoName].getPhantom().ravel()) is 0)
widget.iterate()
widget.iterate(wait=True)
qt.QApplication.instance().processEvents()
self.assertFalse(numpy.array_equal(
reconsAlg[algoName].getPhantom(),
......@@ -217,7 +217,7 @@ class FluoProject(ScenarioProject):
algoName = list(reconsAlg)[0]
self.assertTrue(len(reconsAlg[algoName].getPhantom().ravel()) is 0)
widget.iterate()
widget.iterate(wait=True)
qt.QApplication.instance().processEvents()
self.assertFalse(numpy.array_equal(
reconsAlg[algoName].getPhantom(),
......@@ -260,7 +260,7 @@ class FluoProject(ScenarioProject):
algoName = list(reconsAlg)[0]
self.assertTrue(len(reconsAlg[algoName].getPhantom().ravel()) is 0)
widget.iterate()
widget.iterate(wait=True)
qt.QApplication.instance().processEvents()
self.assertFalse(numpy.array_equal(
reconsAlg[algoName].getPhantom(),
......
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