tests: Replaced hardcoded certutil with imported from paths

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Oleg Fayans
2016-09-22 15:20:42 +02:00
committed by David Kupka
parent bb4205b582
commit dbf0d141c5
+1 -1
View File
@@ -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