Tests: Host tracker does not recognize 'ipakrboktoauthasdelegate' attribute

Due to [1] being implemented, retrieve and search tests with --all option
specified fail due to extra attribute.

[1] https://fedorahosted.org/freeipa/ticket/5764

Ticket: https://fedorahosted.org/freeipa/ticket/6240
Reviewed-By: Ganna Kaihorodova <gkaihoro@redhat.com>
This commit is contained in:
Lenka Doudova authored and Martin Basti committed 2016-08-24 16:00:25 +02:00
1 parent 95a594af4c
commit 3a555ece79
1 file changed
+2 -1
+2 -1
View File
@@ -40,7 +40,7 @@ class HostTracker(KerberosAliasMixin, Tracker):
retrieve_all_keys = retrieve_keys | {
u'cn', u'ipakrbokasdelegate', u'ipakrbrequirespreauth', u'ipauniqueid',
u'krbcanonicalname', u'managing_host', u'objectclass',
u'serverhostname'}
u'serverhostname', u'ipakrboktoauthasdelegate'}
create_keys = retrieve_keys | {'objectclass', 'ipauniqueid',
'randompassword'}
update_keys = retrieve_keys - {'dn'}
@@ -112,6 +112,7 @@ class HostTracker(KerberosAliasMixin, Tracker):
ipakrbrequirespreauth=True,
managing_host=[self.fqdn],
serverhostname=[self.shortname],
ipakrboktoauthasdelegate=False,
)
self.exists = True