- """
- # XXX: IS THIS REALLY NEEDED??!!!
- # Wait until the Simulation is actually started...
- is_running = False
- for i in xrange(1000):
- is_running = self.invoke(SIMULATOR_UUID, "isRunning")
- is_finished = self.invoke(SIMULATOR_UUID, "isFinished")
-
- if is_running or is_finished:
- break
- else:
- time.sleep(1)
- else:
- if not is_running:
- msg = " Simulation did not start"
- self.error(msg)
- raise RuntimeError
- """