Remove redundant config

The config here is set in class of BaseLDAPIdentity.

Change-Id: I1d6823cb22417a45a5d262580806c5c6d2acb77e
This commit is contained in:
Dave Chen 2015-06-19 17:51:27 +08:00
parent 2bb4593266
commit fd5ad1ba4f
3 changed files with 0 additions and 12 deletions

View File

@ -82,10 +82,6 @@ class LiveLDAPIdentity(test_backend_ldap.LDAPIdentity):
config_files.append(tests.dirs.tests_conf('backend_liveldap.conf'))
return config_files
def config_overrides(self):
super(LiveLDAPIdentity, self).config_overrides()
self.config_fixture.config(group='identity', driver='ldap')
def test_build_tree(self):
"""Regression test for building the tree names
"""

View File

@ -48,10 +48,6 @@ class LiveLDAPPoolIdentity(test_backend_ldap_pool.LdapPoolCommonTestMixin,
tests_conf('backend_pool_liveldap.conf'))
return config_files
def config_overrides(self):
super(LiveLDAPPoolIdentity, self).config_overrides()
self.config_fixture.config(group='identity', driver='ldap')
def test_assert_connector_used_not_fake_ldap_pool(self):
handler = ldap_core._get_connection(CONF.ldap.url, use_pool=True)
self.assertNotEqual(type(handler.Connector),

View File

@ -44,10 +44,6 @@ class LiveTLSLDAPIdentity(test_ldap_livetest.LiveLDAPIdentity):
config_files.append(tests.dirs.tests_conf('backend_tls_liveldap.conf'))
return config_files
def config_overrides(self):
super(LiveTLSLDAPIdentity, self).config_overrides()
self.config_fixture.config(group='identity', driver='ldap')
def test_tls_certfile_demand_option(self):
self.config_fixture.config(group='ldap',
use_tls=True,