Exemplo n.º 1
0
 def create_api_app(self, config=None):
     if not config:
         config = Config()
     config.MONGO_PORT = 7778
     return WightApp(config=config)
Exemplo n.º 2
0
 def get_app(self):
     cfg = Config(HEALTHCHECK_TEXT="works")
     return self.create_api_app(cfg)
Exemplo n.º 3
0
    def create_web_app(self, config=None):
        if not config:
            config = Config()

        return WightWebApp(config=config)