Minor update to service loading testcase
@@ -16,8 +16,9 @@ from mycroft.audio.services import AudioBackend
class WorkingBackend(AudioBackend):
- def __init__(self, config, emitter, name='Working'):
- pass
+ def __init__(self, config, bus, name='Working'):
+ super(WorkingBackend, self).__init__(config, bus)
+ self.name = name
def supported_uris(self):
return ['file', 'http']
@@ -35,6 +36,6 @@ class WorkingBackend(AudioBackend):
pass
-def load_service(base_config, emitter):
- instances = [WorkingBackend(base_config, emitter)]
+def load_service(base_config, bus):
+ instances = [WorkingBackend(base_config, bus)]
return instances
