#6197 Broken test ipa.test_xmlrpc.test_kerberos_principal_aliases.TestKerberosAliasExceptions.test_enterprise_principal_overlap_with_AD_realm
Closed: Fixed None Opened 7 years ago by mbasti.

ipa.test_xmlrpc.test_kerberos_principal_aliases.TestKerberosAliasExceptions.test_enterprise_principal_overlap_with_AD_realm:

Error Message

test setup failure
Stacktrace

@pytest.yield_fixture
    def trusted_domain():
        """Fixture providing mocked AD trust entries

        The fixture yields after creating a mock of AD trust
        entries in the directory server. After the test, the entries
        are deleted from the directory.
        """

        trusted_dom = TRUSTED_DOMAIN_MOCK['ldif']

        # Write the changes
        with mocked_trust_containers(), MockLDAP() as ldap:
>           ldap.add_entry(trusted_dom['dn'], trusted_dom['ldif'])
E           KeyError: 'dn'

master:

  • b92b1d7 ipatests: Fix wrong fixture in kerberos principal alias test

Metadata Update from @mbasti:
- Issue assigned to mkubik
- Issue set to the milestone: FreeIPA 4.4.1

7 years ago

Login to comment on this ticket.

Metadata