mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 08:41:55 -06:00
Test for caacl-add-service
Test for caacl-add-service: incorrect error message when service does not exists https://fedorahosted.org/freeipa/ticket/6171 Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
parent
cb1cee4db8
commit
572bb55da4
@ -141,6 +141,7 @@ class TestCAACLMembers(XMLRPC_test):
|
||||
def test_add_invalid_value_service(self, category_acl, default_profile):
|
||||
res = category_acl.add_service(service=default_profile.name, track=False)
|
||||
assert len(res['failed']) == 1
|
||||
assert(res['failed']['memberservice']['service'][0][0].startswith(default_profile.name))
|
||||
|
||||
# the same for other types
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user