コード例 #1
0
    def setUp(self):
        config = mopidy_config.Proxy({
            'musicbox_webclient': {
                'enabled': True,
                'musicbox': False,
                'websocket_host': 'host_mock',
                'websocket_port': 999,
            }
        })

        self.ext = Extension()
        self.mmw = Webclient(config)
コード例 #2
0
    def setUp(self):
        config = mopidy_config.Proxy({
            "musicbox_webclient": {
                "enabled": True,
                "musicbox": False,
                "websocket_host": "host_mock",
                "websocket_port": 999,
            },
            "alarmclock": {
                "enabled": True
            },
        })

        self.ext = Extension()
        self.mmw = Webclient(config)