Skip to content

Commit 24728e3

Browse files
committed
Added coverage to logger
1 parent b336a57 commit 24728e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/tests_flask.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import os
22
import unittest
33

4+
from flask import current_app
5+
46
from pyms.constants import CONFIGMAP_FILE_ENVIRONMENT
57
from pyms.flask.app import Microservice
68

79

810
def home():
11+
current_app.logger.info("start request")
912
return "OK"
1013

1114

0 commit comments

Comments
 (0)