diff options
Diffstat (limited to 'ipatests/test_xmlrpc')
| -rw-r--r-- | ipatests/test_xmlrpc/test_cert_plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_cert_plugin.py b/ipatests/test_xmlrpc/test_cert_plugin.py index f07bb1791..4537002f9 100644 --- a/ipatests/test_xmlrpc/test_cert_plugin.py +++ b/ipatests/test_xmlrpc/test_cert_plugin.py @@ -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): """ |
