mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -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:
parent
ecd6cb4e45
commit
95aa9369cb
@ -267,7 +267,9 @@ class test_cert_find(XMLRPC_test):
|
||||
"""
|
||||
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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user