diff --git a/tests/test_ldap_authentication.py b/tests/test_ldap_authentication.py index 3d8c085458..36da612ec2 100644 --- a/tests/test_ldap_authentication.py +++ b/tests/test_ldap_authentication.py @@ -21,7 +21,7 @@ class LDAPAuthenticationTestCase(ModuleTestCase): def setUp(self): super(LDAPAuthenticationTestCase, self).setUp() - methods = config.get('session', 'authentications') + methods = config.get('session', 'authentications', default='') config.set('session', 'authentications', 'ldap') self.addCleanup(config.set, 'session', 'authentications', methods) config.add_section(section)