summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-11-02 17:53:28 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-11-02 17:53:28 +0000
commitc27d0fe7bd9b56ee20f01124d72800ded7ccca9c (patch)
tree694c6895f574dd69e653e68464e2453a6dd605a3 /test
parentb6f4b3afb1eb7d6742beb8968c902e4709c3ced7 (diff)
downloadunit-c27d0fe7bd9b56ee20f01124d72800ded7ccca9c.tar.gz
unit-c27d0fe7bd9b56ee20f01124d72800ded7ccca9c.tar.bz2
Tests: removed unused imports.
Diffstat (limited to 'test')
-rw-r--r--test/test_asgi_application.py1
-rw-r--r--test/test_asgi_lifespan.py1
-rw-r--r--test/test_client_ip.py1
-rw-r--r--test/test_node_es_modules.py1
-rw-r--r--test/test_python_targets.py1
-rw-r--r--test/test_ruby_hooks.py2
-rw-r--r--test/test_tls_session.py1
-rw-r--r--test/test_tls_sni.py1
-rw-r--r--test/test_tls_tickets.py1
-rw-r--r--test/unit/applications/lang/python.py1
-rw-r--r--test/unit/check/isolation.py1
11 files changed, 0 insertions, 12 deletions
diff --git a/test/test_asgi_application.py b/test/test_asgi_application.py
index 4c8a2e77..021aa2b2 100644
--- a/test/test_asgi_application.py
+++ b/test/test_asgi_application.py
@@ -4,7 +4,6 @@ from distutils.version import LooseVersion
import pytest
from unit.applications.lang.python import TestApplicationPython
-from unit.option import option
class TestASGIApplication(TestApplicationPython):
diff --git a/test/test_asgi_lifespan.py b/test/test_asgi_lifespan.py
index 2109a746..912d0d85 100644
--- a/test/test_asgi_lifespan.py
+++ b/test/test_asgi_lifespan.py
@@ -1,7 +1,6 @@
import os
from distutils.version import LooseVersion
-import pytest
from conftest import unit_stop
from unit.applications.lang.python import TestApplicationPython
from unit.option import option
diff --git a/test/test_client_ip.py b/test/test_client_ip.py
index 8b89b418..4b2b2fa1 100644
--- a/test/test_client_ip.py
+++ b/test/test_client_ip.py
@@ -1,4 +1,3 @@
-import pytest
from unit.applications.lang.python import TestApplicationPython
diff --git a/test/test_node_es_modules.py b/test/test_node_es_modules.py
index 47b066d5..12788fa4 100644
--- a/test/test_node_es_modules.py
+++ b/test/test_node_es_modules.py
@@ -1,6 +1,5 @@
from distutils.version import LooseVersion
-import pytest
from unit.applications.lang.node import TestApplicationNode
from unit.applications.websockets import TestApplicationWebsocket
diff --git a/test/test_python_targets.py b/test/test_python_targets.py
index 6e5488ee..e5dca870 100644
--- a/test/test_python_targets.py
+++ b/test/test_python_targets.py
@@ -1,4 +1,3 @@
-import pytest
from unit.applications.lang.python import TestApplicationPython
from unit.option import option
diff --git a/test/test_ruby_hooks.py b/test/test_ruby_hooks.py
index 306ffa4b..20980ad7 100644
--- a/test/test_ruby_hooks.py
+++ b/test/test_ruby_hooks.py
@@ -1,5 +1,3 @@
-import pytest
-from conftest import unit_stop
from unit.applications.lang.ruby import TestApplicationRuby
from unit.option import option
from unit.utils import waitforglob
diff --git a/test/test_tls_session.py b/test/test_tls_session.py
index 7854fad6..0c5f0248 100644
--- a/test/test_tls_session.py
+++ b/test/test_tls_session.py
@@ -11,7 +11,6 @@ from OpenSSL.SSL import (
_lib,
)
from unit.applications.tls import TestApplicationTLS
-from unit.option import option
class TestTLSSession(TestApplicationTLS):
diff --git a/test/test_tls_sni.py b/test/test_tls_sni.py
index 28ab875b..e3aee4e3 100644
--- a/test/test_tls_sni.py
+++ b/test/test_tls_sni.py
@@ -1,7 +1,6 @@
import ssl
import subprocess
-import pytest
from unit.applications.tls import TestApplicationTLS
from unit.option import option
diff --git a/test/test_tls_tickets.py b/test/test_tls_tickets.py
index 0ea113f5..7214f77f 100644
--- a/test/test_tls_tickets.py
+++ b/test/test_tls_tickets.py
@@ -9,7 +9,6 @@ from OpenSSL.SSL import (
_lib,
)
from unit.applications.tls import TestApplicationTLS
-from unit.option import option
class TestTLSTicket(TestApplicationTLS):
diff --git a/test/unit/applications/lang/python.py b/test/unit/applications/lang/python.py
index 215aa332..1e38f3fa 100644
--- a/test/unit/applications/lang/python.py
+++ b/test/unit/applications/lang/python.py
@@ -2,7 +2,6 @@ import os
import shutil
from urllib.parse import quote
-import pytest
from unit.applications.proto import TestApplicationProto
from unit.option import option
diff --git a/test/unit/check/isolation.py b/test/unit/check/isolation.py
index 7f98e685..9bd835a3 100644
--- a/test/unit/check/isolation.py
+++ b/test/unit/check/isolation.py
@@ -5,7 +5,6 @@ from unit.applications.lang.go import TestApplicationGo
from unit.applications.lang.java import TestApplicationJava
from unit.applications.lang.node import TestApplicationNode
from unit.applications.lang.ruby import TestApplicationRuby
-from unit.applications.proto import TestApplicationProto
from unit.http import TestHTTP
from unit.option import option
from unit.utils import getns