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