From dbf0d141c5a4d1ccd1b681ac49cb57e47234aaa4 Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Sep 22 2016 13:20:42 +0000 Subject: tests: Replaced hardcoded certutil with imported from paths Reviewed-By: David Kupka --- diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 04d186a..88eec0a 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