Tests: refactored working with processes.

This commit is contained in:
Andrei Zeliankou
2021-11-15 12:13:54 +00:00
parent 28eaf9d378
commit ae03585238
8 changed files with 39 additions and 39 deletions

View File

@@ -74,7 +74,7 @@ basicConstraints = critical,CA:TRUE"""
else '/'
)
subprocess.call(
subprocess.check_output(
[
'openssl',
'req',
@@ -100,7 +100,7 @@ basicConstraints = critical,CA:TRUE"""
else '/'
)
subprocess.call(
subprocess.check_output(
[
'openssl',
'ca',