def _wrapper(global_config, **local_conf): config.parse_args() return func(global_config, **local_conf)
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