mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ca-less tests: fix getting cert in pem format from nssdb
usage of ipautil.run in get_pem methond of ca-less tests was not
refactored when the ipautil.run was refactored in
099cf98307
This results in failure of all CA-less test.
https://fedorahosted.org/freeipa/ticket/6177
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
9f26e395e5
commit
6217d680da
@ -279,10 +279,10 @@ class CALessBase(IntegrationTest):
|
||||
|
||||
@classmethod
|
||||
def get_pem(cls, nickname):
|
||||
pem_cert, _stderr, _returncode = ipautil.run(
|
||||
result = ipautil.run(
|
||||
['certutil', '-L', '-d', 'nssdb', '-n', nickname, '-a'],
|
||||
cwd=cls.cert_dir)
|
||||
return pem_cert
|
||||
cwd=cls.cert_dir, capture_output=True)
|
||||
return result.output
|
||||
|
||||
def verify_installation(self):
|
||||
"""Verify CA cert PEM file and LDAP entry created by install
|
||||
|
Loading…
Reference in New Issue
Block a user