mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 08:41:55 -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(
|
result=dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=[service1],
|
|
||||||
objectclass=objectclasses.service,
|
objectclass=objectclasses.service,
|
||||||
managedby_host=[host.fqdn],
|
managedby_host=[host.fqdn],
|
||||||
ipauniqueid=[fuzzy_uuid],
|
ipauniqueid=[fuzzy_uuid],
|
||||||
|
@ -193,7 +193,6 @@ class test_service(Declarative):
|
|||||||
result=dict(
|
result=dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=[service1],
|
|
||||||
objectclass=objectclasses.service,
|
objectclass=objectclasses.service,
|
||||||
ipauniqueid=[fuzzy_uuid],
|
ipauniqueid=[fuzzy_uuid],
|
||||||
managedby_host=[fqdn1],
|
managedby_host=[fqdn1],
|
||||||
@ -263,7 +262,6 @@ class test_service(Declarative):
|
|||||||
dict(
|
dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=service1,
|
|
||||||
managedby_host=[fqdn1],
|
managedby_host=[fqdn1],
|
||||||
has_keytab=False,
|
has_keytab=False,
|
||||||
),
|
),
|
||||||
@ -283,7 +281,6 @@ class test_service(Declarative):
|
|||||||
dict(
|
dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=service1,
|
|
||||||
has_keytab=False,
|
has_keytab=False,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -718,7 +715,6 @@ class test_service_in_role(Declarative):
|
|||||||
result=dict(
|
result=dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=[service1],
|
|
||||||
objectclass=objectclasses.service,
|
objectclass=objectclasses.service,
|
||||||
ipauniqueid=[fuzzy_uuid],
|
ipauniqueid=[fuzzy_uuid],
|
||||||
managedby_host=[fqdn1],
|
managedby_host=[fqdn1],
|
||||||
@ -923,7 +919,6 @@ class test_service_allowed_to(Declarative):
|
|||||||
result=dict(
|
result=dict(
|
||||||
dn=service1dn,
|
dn=service1dn,
|
||||||
krbprincipalname=[service1],
|
krbprincipalname=[service1],
|
||||||
krbcanonicalname=[service1],
|
|
||||||
objectclass=objectclasses.service,
|
objectclass=objectclasses.service,
|
||||||
ipauniqueid=[fuzzy_uuid],
|
ipauniqueid=[fuzzy_uuid],
|
||||||
managedby_host=[fqdn1],
|
managedby_host=[fqdn1],
|
||||||
|
Loading…
Reference in New Issue
Block a user