Fix dependency on auth_provider

This commit is contained in:
Stefan Haun 2020-12-01 20:55:30 +01:00
parent a72ff4b06c
commit 164754ef6d

4
app.py
View file

@ -68,7 +68,7 @@ class Oas3Handler(tornado.web.RequestHandler, metaclass=ABCMeta):
self.finish() self.finish()
def make_app(_auth_provider=None): def make_app():
version_path = r"/v[0-9]" version_path = r"/v[0-9]"
return tornado.web.Application([ return tornado.web.Application([
(version_path + r"/health", HealthHandler), (version_path + r"/health", HealthHandler),
@ -81,7 +81,7 @@ def main():
# Setup # Setup
util.run_tornado_server(make_app(auth_provider), util.run_tornado_server(make_app(),
server_port=port) server_port=port)
# Teardown # Teardown