From b6e4972e7f6aa08e0392a2cf441b60ab0e7d88b7 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 9 Dec 2009 09:09:53 -0700 Subject: Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff --- tests/test_xmlrpc/test_cert.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_xmlrpc/test_cert.py') diff --git a/tests/test_xmlrpc/test_cert.py b/tests/test_xmlrpc/test_cert.py index 37c99364..6d23c69a 100644 --- a/tests/test_xmlrpc/test_cert.py +++ b/tests/test_xmlrpc/test_cert.py @@ -27,6 +27,7 @@ from ipalib import api from ipalib import errors import tempfile from ipapython import ipautil +import nose class test_cert(XMLRPC_test): @@ -37,6 +38,8 @@ class test_cert(XMLRPC_test): return ipautil.run(new_args, stdin) def setUp(self): + if 'cert_request' not in api.Command: + raise nose.SkipTest('cert_request not registered') super(test_cert, self).setUp() self.reqdir = tempfile.mkdtemp(prefix = "tmp-") self.reqfile = self.reqdir + "/test.csr" -- cgit