    def test_default_return_errors(self):
        c = copy(CONFIG_BASE)
        del c['return_error_details']

        data = get_ldap(c)
        self.assertEqual(data['return_error_details'], DEFAULT_RETURN_ERRORS)

    """Not specifying a base_dn should fail"""
    def test_missing_base_dn(self):
        c = copy(CONFIG_BASE)