diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-05-29 14:47:17 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-16 19:48:20 +0200 |
commit | 4d2ef43f287aa96df3d65b97977fc7a824b6b33c (patch) | |
tree | 4adba8f39e1f874c89a73993d6a6455b649b7bb9 /ipatests/test_xmlrpc/test_cert_plugin.py | |
parent | c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9 (diff) | |
download | freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.gz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.xz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.zip |
ipaplatform: Move all filesystem paths to ipaplatform.paths module
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_cert_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_cert_plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_cert_plugin.py b/ipatests/test_xmlrpc/test_cert_plugin.py index 508e9141a..af9994430 100644 --- a/ipatests/test_xmlrpc/test_cert_plugin.py +++ b/ipatests/test_xmlrpc/test_cert_plugin.py @@ -33,6 +33,7 @@ import tempfile from ipapython import ipautil import nose import base64 +from ipaplatform.paths import paths from ipapython.dn import DN # So we can save the cert from issuance and compare it later @@ -78,7 +79,7 @@ class test_cert(XMLRPC_test): is_db_configured() def run_certutil(self, args, stdin=None): - new_args = ["/usr/bin/certutil", "-d", self.reqdir] + new_args = [paths.CERTUTIL, "-d", self.reqdir] new_args = new_args + args return ipautil.run(new_args, stdin) @@ -105,7 +106,7 @@ class test_cert(XMLRPC_test): def generateCSR(self, subject): self.run_certutil(["-R", "-s", subject, "-o", self.reqfile, - "-z", "/etc/group", + "-z", paths.GROUP, "-f", self.pwname, "-a", ]) |