summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-11-18 17:04:04 +0300
committerAndrei Belov <defan@nginx.com>2021-11-18 17:04:04 +0300
commitb400ccd1aa8eeb6a5de1707e0bb8c3d417fe69b7 (patch)
tree60ff49ffc16ef7cb3aad1beb2d78f051a8794cdf /test/test_tls_sni.py
parentfafd44166d9e835e91a4c5668048308ce99a62bd (diff)
parentb77895d1c7d6cd4826ac7427c91baa95b998a912 (diff)
downloadunit-1.26.0-1.tar.gz
unit-1.26.0-1.tar.bz2
Merged with the default branch.1.26.0-1
Diffstat (limited to 'test/test_tls_sni.py')
-rw-r--r--test/test_tls_sni.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_tls_sni.py b/test/test_tls_sni.py
index eba6140a..d5f205cf 100644
--- a/test/test_tls_sni.py
+++ b/test/test_tls_sni.py
@@ -1,8 +1,6 @@
import ssl
import subprocess
-import pytest
-
from unit.applications.tls import TestApplicationTLS
from unit.option import option
@@ -76,7 +74,7 @@ basicConstraints = critical,CA:TRUE"""
else '/'
)
- subprocess.call(
+ subprocess.check_output(
[
'openssl',
'req',
@@ -102,7 +100,7 @@ basicConstraints = critical,CA:TRUE"""
else '/'
)
- subprocess.call(
+ subprocess.check_output(
[
'openssl',
'ca',