diff --git a/keystonemiddleware/tests/unit/auth_token/test_user_auth_plugin.py b/keystonemiddleware/tests/unit/auth_token/test_user_auth_plugin.py index f53d7505..648933f4 100644 --- a/keystonemiddleware/tests/unit/auth_token/test_user_auth_plugin.py +++ b/keystonemiddleware/tests/unit/auth_token/test_user_auth_plugin.py @@ -27,17 +27,16 @@ class BaseUserPluginTests(object): def configure_middleware(self, auth_plugin, - group='keystone_authtoken', **kwargs): opts = auth.get_plugin_class(auth_plugin).get_options() - self.cfg.register_opts(opts, group=group) + self.cfg.register_opts(opts, group=_base.AUTHTOKEN_GROUP) # Since these tests cfg.config() themselves rather than waiting for # auth_token to do it on __init__ we need to register the base auth # options (e.g., auth_plugin) auth.register_conf_options(self.cfg.conf, group=_base.AUTHTOKEN_GROUP) - self.cfg.config(group=group, + self.cfg.config(group=_base.AUTHTOKEN_GROUP, auth_plugin=auth_plugin, **kwargs)