def test_get_not_found_option(self):
section = 'MySection'
option = 'myoption'
self.az_config.config_parser.add_section(section)
with self.assertRaises(configparser.NoOptionError):
self.az_config.get(section, option)
评论列表
文章目录