mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix: find OSCP certificate test
Test should check if any OSCP certificate has been returned https://fedorahosted.org/freeipa/ticket/6359 Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
@@ -267,7 +267,9 @@ class test_cert_find(XMLRPC_test):
|
|||||||
"""
|
"""
|
||||||
Search for the OCSP certificate.
|
Search for the OCSP certificate.
|
||||||
"""
|
"""
|
||||||
api.Command['cert_find'](subject=u'OCSP Subsystem')
|
res = api.Command['cert_find'](subject=u'OCSP Subsystem')
|
||||||
|
assert 'count' in res
|
||||||
|
assert res['count'], "No OSCP certificate found"
|
||||||
|
|
||||||
def test_0004_find_this_host(self):
|
def test_0004_find_this_host(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user