Remove unused group parameter from tests

The group parameter to configure_middleware() was never used so
remove it.

Change-Id: I0b8e27db4969452757aca796d385a51386020086
This commit is contained in:
Brant Knudson 2015-09-15 11:21:37 -05:00
parent 5352ff068d
commit b4b6239872
1 changed files with 2 additions and 3 deletions

View File

@ -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)