Skip to content

Commit fa487e8

Browse files
ISSUE #92
1 parent 857f4a8 commit fa487e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

minos/api_gateway/rest/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async def create_database(self):
9898
Base.metadata.create_all(self.engine)
9999

100100
@aiohttp_jinja2.template("tmpl.jinja2")
101-
async def handler(self, request):
101+
async def handler(self, request): # pragma: no cover
102102
try:
103103
path = Path(Path.cwd())
104104
self._directory = path.resolve()
@@ -114,7 +114,7 @@ async def handler(self, request):
114114
return response
115115

116116
@staticmethod
117-
async def _get_file(file_path) -> web.FileResponse:
117+
async def _get_file(file_path) -> web.FileResponse: # pragma: no cover
118118
try:
119119
return web.FileResponse(path=file_path, status=200)
120120
except (ValueError, FileNotFoundError) as error:

0 commit comments

Comments
 (0)