mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
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:
parent
a79d45ad79
commit
d0c38d86a1
@ -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],
|
||||
|
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user