Example #1
0
 def error_command(cls, data):
     raise SchedulerMux.Error('expected')
Example #2
0
 def enqueue_and_wait(self, command, data, timeout=None):
     command([data])
     if self._raise_error:
         raise SchedulerMux.Error("expected")
Example #3
0
 def setUpClass(cls):
     cls.MUX = SchedulerMux(wait_timeout=Amount(10, Time.MILLISECONDS))