def get_app(self):
     extension = Extension()
     self.config = config.Proxy({'musicbox_webclient': {
         'enabled': True,
         'musicbox': False,
         'websocket_host': '',
         'websocket_port': '',
         }
     })
     return tornado.web.Application(extension.factory(self.config, mock.Mock()))
示例#2
0
 def get_app(self):
     extension = Extension()
     self.config = config.Proxy({
         'musicbox_webclient': {
             'enabled': True,
             'musicbox': True,
             'websocket_host': '',
             'websocket_port': '',
         }
     })
     return tornado.web.Application(
         extension.factory(self.config, mock.Mock()))
 def get_app(self):
     extension = Extension()
     self.config = config.Proxy(
         {
             "musicbox_webclient": {
                 "enabled": True,
                 "musicbox": False,
                 "websocket_host": "",
                 "websocket_port": "",
             }
         }
     )
     return tornado.web.Application(
         extension.factory(self.config, mock.Mock())
     )