ipatests: add xmlrpc test for user|host-find --certificate
There were no xmlrpc tests for ipa user-find --certificate or ipa host-find --certificate. The commit adds tests for these commands. Related to https://pagure.io/freeipa/issue/7770 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
372c2fc990
commit
d2fa2ecb4b
2 files changed
+36
No files matched your search
@@ -251,6 +251,11 @@ class TestCRUD(XMLRPC_test):
|
||||
valid_not_after=fuzzy_date,
|
||||
))
|
||||
host.retrieve()
|
||||
# test host-find with --certificate
|
||||
command = host.make_find_command(
|
||||
fqdn=host.fqdn, usercertificate=host_cert)
|
||||
res = command()['result']
|
||||
assert len(res) == 1
|
||||
|
||||
def test_try_rename(self, host):
|
||||
host.ensure_exists()
|
||||
|
||||
Reference in new issue
Block a user