From dbf0d141c5a4d1ccd1b681ac49cb57e47234aaa4 Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Wed, 21 Sep 2016 11:32:57 +0200 Subject: [PATCH] tests: Replaced hardcoded certutil with imported from paths Reviewed-By: David Kupka --- ipatests/test_integration/test_caless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 04d186a4a..88eec0ad5 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -285,7 +285,7 @@ class CALessBase(IntegrationTest): @classmethod def get_pem(cls, nickname): result = ipautil.run( - ['certutil', '-L', '-d', 'nssdb', '-n', nickname, '-a'], + [paths.CERTUTIL, '-L', '-d', 'nssdb', '-n', nickname, '-a'], cwd=cls.cert_dir, capture_output=True) return result.output