test-{service,host}-plugin: only expect krbcanonicalname when all=True

fixes incorrect assertions in tests that create, retrieve, and search for
services

https://fedorahosted.org/freeipa/ticket/3864

Reviewed-By: Lenka Doudova <ldoudova@redhat.com>
This commit is contained in:
Martin Babinsky 2016-06-27 09:40:17 +02:00 committed by Martin Basti
parent a79d45ad79
commit d0c38d86a1
2 changed files with 0 additions and 6 deletions

View File

@ -357,7 +357,6 @@ class TestHostWithService(XMLRPC_test):
result=dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=[service1],
objectclass=objectclasses.service,
managedby_host=[host.fqdn],
ipauniqueid=[fuzzy_uuid],

View File

@ -193,7 +193,6 @@ class test_service(Declarative):
result=dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=[service1],
objectclass=objectclasses.service,
ipauniqueid=[fuzzy_uuid],
managedby_host=[fqdn1],
@ -263,7 +262,6 @@ class test_service(Declarative):
dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=service1,
managedby_host=[fqdn1],
has_keytab=False,
),
@ -283,7 +281,6 @@ class test_service(Declarative):
dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=service1,
has_keytab=False,
),
],
@ -718,7 +715,6 @@ class test_service_in_role(Declarative):
result=dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=[service1],
objectclass=objectclasses.service,
ipauniqueid=[fuzzy_uuid],
managedby_host=[fqdn1],
@ -923,7 +919,6 @@ class test_service_allowed_to(Declarative):
result=dict(
dn=service1dn,
krbprincipalname=[service1],
krbcanonicalname=[service1],
objectclass=objectclasses.service,
ipauniqueid=[fuzzy_uuid],
managedby_host=[fqdn1],