示例#1
0
 def _wrapper(global_config, **local_conf):
     config.parse_args()
     return func(global_config, **local_conf)
示例#2
0
 def setUp(self):
     super(ConfigFixture, self).setUp()
     self.addCleanup(self._clean_config_loaded_flag)
     conf.register_opts()
     self._set_defaults()
     config.parse_args(argv=[])  # prevent oslo from parsing test args