You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.assertIsNotNone(cfg, 'test_0_configuration is error.')
27
+
# logging.debug('the current key({}): value({})'.format('version_info', cfg['version_info']))
28
+
# if you use the above method directly, it is easy to cause the program to crash. Therefore, compatibility is made and default value adaptation is provided
29
+
logging.debug('the current key({}): value({})'.format('version_info', cfg.get('version_info', None)))
28
30
logging.warning(json.dumps(cfg, indent=4))
29
-
logging.debug('the current key({}): value({})'.format('version_info', cfg['version_info']))
0 commit comments