summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
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',