File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/mininum_microservice_docker Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import os
21from flask import jsonify
2+
33from pyms .flask .app import Microservice
44
55ms = Microservice (service = "my-minimal-microservice" , path = __file__ )
Original file line number Diff line number Diff line change 33import unittest
44
55from pyms .config .conf import Config
6-
76from pyms .config .confile import ConfFile
87from pyms .constants import CONFIGMAP_FILE_ENVIRONMENT , LOGGER_NAME
98from pyms .exceptions import AttrDoesNotExistException , ConfigDoesNotFoundException , ServiceDoesNotExistException
@@ -119,5 +118,6 @@ def test_empty_conf_three_levels(self):
119118 config = ConfFile (empty_init = True )
120119 self .assertEqual (config .my_ms .level_two .level_three , {})
121120
121+
122122if __name__ == '__main__' :
123- unittest .main ()
123+ unittest .main ()
You can’t perform that action at this time.
0 commit comments