#6198 Regression found by test: ipa.test_xmlrpc.test_old_permission_plugin.test_old_permission
Closed: Fixed None Opened 7 years ago by mbasti.

ipa.test_xmlrpc.test_old_permission_plugin.test_old_permission.test_command[0007: privilege_add_permission: Add permission u'testperm' to privilege u'testpriv1']

                raise AssertionError(KEYS % (
>                       doc, sorted(missing), sorted(extra), expected, got, stack
E               AssertionError: assert_deepequal: dict keys mismatch.
E                 0007: privilege_add_permission: Add permission u'testperm' to privilege u'testpriv1'
E                 missing keys = ['objectclass']
E                 extra keys = []
E                 expected = {'dn': ipapython.dn.DN('cn=testpriv1,cn=privileges,cn=pbac,dc=dom-150,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com'), 'objectclass': [u'nestedgroup', u'groupofnames', u'top'], 'memberof_permission': [u'testperm'], 'cn': [u'testpriv1'], 'description': [u'privilege desc. 1']}
E                 got = {u'dn': u'cn=testpriv1,cn=privileges,cn=pbac,dc=dom-150,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com', u'memberof_permission': (u'testperm',), u'cn': (u'testpriv1',), u'description': (u'privilege desc. 1',)}
E                 path = ('result',)

Objectclass is also missing for many tests in suite ipa.test_xmlrpc.test_privilege_plugin.test_privilege.test_command


  • 9f26e39 Removed objectclass from LDAP*ReverseMember based tests

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

6 years ago

Login to comment on this ticket.