Tests: removed unused imports.
This commit is contained in:
@@ -4,7 +4,6 @@ from distutils.version import LooseVersion
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from unit.applications.lang.python import TestApplicationPython
|
from unit.applications.lang.python import TestApplicationPython
|
||||||
from unit.option import option
|
|
||||||
|
|
||||||
|
|
||||||
class TestASGIApplication(TestApplicationPython):
|
class TestASGIApplication(TestApplicationPython):
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
|
||||||
import pytest
|
|
||||||
from conftest import unit_stop
|
from conftest import unit_stop
|
||||||
from unit.applications.lang.python import TestApplicationPython
|
from unit.applications.lang.python import TestApplicationPython
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import pytest
|
|
||||||
from unit.applications.lang.python import TestApplicationPython
|
from unit.applications.lang.python import TestApplicationPython
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
|
||||||
import pytest
|
|
||||||
from unit.applications.lang.node import TestApplicationNode
|
from unit.applications.lang.node import TestApplicationNode
|
||||||
from unit.applications.websockets import TestApplicationWebsocket
|
from unit.applications.websockets import TestApplicationWebsocket
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import pytest
|
|
||||||
from unit.applications.lang.python import TestApplicationPython
|
from unit.applications.lang.python import TestApplicationPython
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import pytest
|
|
||||||
from conftest import unit_stop
|
|
||||||
from unit.applications.lang.ruby import TestApplicationRuby
|
from unit.applications.lang.ruby import TestApplicationRuby
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
from unit.utils import waitforglob
|
from unit.utils import waitforglob
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from OpenSSL.SSL import (
|
|||||||
_lib,
|
_lib,
|
||||||
)
|
)
|
||||||
from unit.applications.tls import TestApplicationTLS
|
from unit.applications.tls import TestApplicationTLS
|
||||||
from unit.option import option
|
|
||||||
|
|
||||||
|
|
||||||
class TestTLSSession(TestApplicationTLS):
|
class TestTLSSession(TestApplicationTLS):
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import ssl
|
import ssl
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import pytest
|
|
||||||
from unit.applications.tls import TestApplicationTLS
|
from unit.applications.tls import TestApplicationTLS
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from OpenSSL.SSL import (
|
|||||||
_lib,
|
_lib,
|
||||||
)
|
)
|
||||||
from unit.applications.tls import TestApplicationTLS
|
from unit.applications.tls import TestApplicationTLS
|
||||||
from unit.option import option
|
|
||||||
|
|
||||||
|
|
||||||
class TestTLSTicket(TestApplicationTLS):
|
class TestTLSTicket(TestApplicationTLS):
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
from urllib.parse import quote
|
from urllib.parse import quote
|
||||||
|
|
||||||
import pytest
|
|
||||||
from unit.applications.proto import TestApplicationProto
|
from unit.applications.proto import TestApplicationProto
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from unit.applications.lang.go import TestApplicationGo
|
|||||||
from unit.applications.lang.java import TestApplicationJava
|
from unit.applications.lang.java import TestApplicationJava
|
||||||
from unit.applications.lang.node import TestApplicationNode
|
from unit.applications.lang.node import TestApplicationNode
|
||||||
from unit.applications.lang.ruby import TestApplicationRuby
|
from unit.applications.lang.ruby import TestApplicationRuby
|
||||||
from unit.applications.proto import TestApplicationProto
|
|
||||||
from unit.http import TestHTTP
|
from unit.http import TestHTTP
|
||||||
from unit.option import option
|
from unit.option import option
|
||||||
from unit.utils import getns
|
from unit.utils import getns
|
||||||
|
|||||||
Reference in New Issue
Block a user