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:
Martin Basti committed 2016-09-30 13:13:57 +02:00
1 parent ecd6cb4e45
commit 95aa9369cb
1 file changed
+3 -1
+3 -1
View File
@@ -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):
"""