def setUp(self): self.backend = dummy.create_dummy_backend_proxy() self.core = core.Core.start(backends=[self.backend]).proxy() self.dispatcher = dispatcher.MpdDispatcher(core=self.core) self.context = self.dispatcher.context
def setUp(self): self.backend = dummy.DummyBackend.start().proxy() self.dispatcher = dispatcher.MpdDispatcher() self.context = self.dispatcher.context
def __init__(self, connection): super(MpdSession, self).__init__(connection) self.dispatcher = dispatcher.MpdDispatcher(self)
def setUp(self): self.backend = dummy.DummyBackend.start(audio=None).proxy() self.core = core.Core.start(backends=[self.backend]).proxy() self.dispatcher = dispatcher.MpdDispatcher(core=self.core) self.context = self.dispatcher.context
def __init__(self, connection, config=None, core=None): super(MpdSession, self).__init__(connection) self.dispatcher = dispatcher.MpdDispatcher(session=self, config=config, core=core)