def create_app(self): config = TestConfig() config.NO_LOGIN = self.no_login self.app = create_app(config) for rule in self.app.url_map.iter_rules(): print rule return self.app
def create_app(self): config = TestConfig() config.NO_LOGIN = self.no_login self.app = create_app(config) return self.app
# Run as a WSGI app from website.application import create_app app = create_app()