summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-11-15 12:13:54 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-11-15 12:13:54 +0000
commitae035852385032cc6c502c0e560fc682cacdbf34 (patch)
tree1f2ce0debba13e7cf2589a432638c65c38bc607d /test/test_tls_sni.py
parent28eaf9d37842a5d79d8081cc14fbf4cc7e7d49a5 (diff)
downloadunit-ae035852385032cc6c502c0e560fc682cacdbf34.tar.gz
unit-ae035852385032cc6c502c0e560fc682cacdbf34.tar.bz2
Tests: refactored working with processes.
Diffstat (limited to 'test/test_tls_sni.py')
-rw-r--r--test/test_tls_sni.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tls_sni.py b/test/test_tls_sni.py
index e3aee4e3..d5f205cf 100644
--- a/test/test_tls_sni.py
+++ b/test/test_tls_sni.py
@@ -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',