We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857f4a8 commit fa487e8Copy full SHA for fa487e8
minos/api_gateway/rest/service.py
@@ -98,7 +98,7 @@ async def create_database(self):
98
Base.metadata.create_all(self.engine)
99
100
@aiohttp_jinja2.template("tmpl.jinja2")
101
- async def handler(self, request):
+ async def handler(self, request): # pragma: no cover
102
try:
103
path = Path(Path.cwd())
104
self._directory = path.resolve()
@@ -114,7 +114,7 @@ async def handler(self, request):
114
return response
115
116
@staticmethod
117
- async def _get_file(file_path) -> web.FileResponse:
+ async def _get_file(file_path) -> web.FileResponse: # pragma: no cover
118
119
return web.FileResponse(path=file_path, status=200)
120
except (ValueError, FileNotFoundError) as error:
0 commit comments