Tests: style.

This commit is contained in:
Andrei Zeliankou
2021-01-13 06:22:43 +00:00
parent f5ac143246
commit 6dc9c47ccd
27 changed files with 2 additions and 35 deletions

View File

@@ -4,7 +4,6 @@ import platform
import re import re
import shutil import shutil
import signal import signal
import socket
import stat import stat
import subprocess import subprocess
import sys import sys
@@ -13,11 +12,10 @@ import time
from multiprocessing import Process from multiprocessing import Process
import pytest import pytest
from unit.check.go import check_go from unit.check.go import check_go
from unit.check.isolation import check_isolation
from unit.check.node import check_node from unit.check.node import check_node
from unit.check.tls import check_openssl from unit.check.tls import check_openssl
from unit.check.isolation import check_isolation
from unit.option import option from unit.option import option
from unit.utils import public_dir from unit.utils import public_dir
from unit.utils import waitforfiles from unit.utils import waitforfiles

View File

@@ -1,7 +1,6 @@
import time import time
import pytest 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

View File

@@ -3,7 +3,6 @@ import time
from distutils.version import LooseVersion 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 from unit.option import option

View File

@@ -2,7 +2,6 @@ import os
from distutils.version import LooseVersion from distutils.version import LooseVersion
import pytest 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

View File

@@ -3,7 +3,6 @@ import time
from distutils.version import LooseVersion 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.applications.websockets import TestApplicationWebsocket from unit.applications.websockets import TestApplicationWebsocket
from unit.option import option from unit.option import option

View File

@@ -1,5 +1,4 @@
import pytest import pytest
from unit.control import TestControl from unit.control import TestControl

View File

@@ -1,10 +1,8 @@
import grp import grp
import os import os
import pwd import pwd
import shutil
import pytest import pytest
from unit.applications.lang.go import TestApplicationGo from unit.applications.lang.go import TestApplicationGo
from unit.option import option from unit.option import option
from unit.utils import getns from unit.utils import getns

View File

@@ -1,7 +1,6 @@
import os import os
import pytest import pytest
from unit.applications.lang.go import TestApplicationGo from unit.applications.lang.go import TestApplicationGo

View File

@@ -1,5 +1,4 @@
import pytest import pytest
from unit.applications.lang.python import TestApplicationPython from unit.applications.lang.python import TestApplicationPython

View File

@@ -2,7 +2,6 @@ import os
import subprocess import subprocess
import pytest import pytest
from unit.applications.lang.java import TestApplicationJava from unit.applications.lang.java import TestApplicationJava
from unit.option import option from unit.option import option

View File

@@ -2,7 +2,6 @@ import struct
import time import time
import pytest import pytest
from unit.applications.lang.java import TestApplicationJava from unit.applications.lang.java import TestApplicationJava
from unit.applications.websockets import TestApplicationWebsocket from unit.applications.websockets import TestApplicationWebsocket
from unit.option import option from unit.option import option

View File

@@ -1,7 +1,6 @@
import re import re
import pytest import pytest
from unit.applications.lang.node import TestApplicationNode from unit.applications.lang.node import TestApplicationNode
from unit.utils import waitforfiles from unit.utils import waitforfiles

View File

@@ -2,7 +2,6 @@ import struct
import time import time
import pytest 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
from unit.option import option from unit.option import option

View File

@@ -1,7 +1,6 @@
import re import re
import pytest import pytest
from unit.applications.lang.perl import TestApplicationPerl from unit.applications.lang.perl import TestApplicationPerl

View File

@@ -5,7 +5,6 @@ import time
from subprocess import call from subprocess import call
import pytest import pytest
from unit.applications.lang.php import TestApplicationPHP from unit.applications.lang.php import TestApplicationPHP
from unit.option import option from unit.option import option

View File

@@ -1,7 +1,4 @@
import shutil
import pytest import pytest
from unit.applications.lang.php import TestApplicationPHP from unit.applications.lang.php import TestApplicationPHP
from unit.option import option from unit.option import option

View File

@@ -3,7 +3,6 @@ import socket
import time import time
import pytest import pytest
from conftest import run_process from conftest import run_process
from unit.applications.lang.python import TestApplicationPython from unit.applications.lang.python import TestApplicationPython
from unit.option import option from unit.option import option

View File

@@ -4,7 +4,6 @@ import re
import time import time
import pytest 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

View File

@@ -1,7 +1,5 @@
import shutil
import pytest 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

View File

@@ -1,5 +1,4 @@
import pytest import pytest
from unit.applications.lang.python import TestApplicationPython from unit.applications.lang.python import TestApplicationPython

View File

@@ -3,7 +3,6 @@ import subprocess
import time import time
import pytest 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

View File

@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import pytest import pytest
from unit.applications.proto import TestApplicationProto from unit.applications.proto import TestApplicationProto
from unit.option import option from unit.option import option

View File

@@ -1,7 +1,6 @@
import re import re
import pytest import pytest
from unit.applications.lang.ruby import TestApplicationRuby from unit.applications.lang.ruby import TestApplicationRuby

View File

@@ -1,8 +1,7 @@
import os
import shutil import shutil
import os
import pytest import pytest
from unit.applications.lang.ruby import TestApplicationRuby from unit.applications.lang.ruby import TestApplicationRuby
from unit.option import option from unit.option import option

View File

@@ -3,7 +3,6 @@ import socket
import time import time
import pytest import pytest
from unit.applications.lang.python import TestApplicationPython from unit.applications.lang.python import TestApplicationPython
@@ -297,4 +296,3 @@ Connection: close
assert bool(resp), 'response from application 4' assert bool(resp), 'response from application 4'
assert resp['status'] == 200, 'status 4' assert resp['status'] == 200, 'status 4'
assert resp['body'] == body, 'body 4' assert resp['body'] == body, 'body 4'

View File

@@ -2,7 +2,6 @@ import os
import socket import socket
import pytest import pytest
from unit.applications.proto import TestApplicationProto from unit.applications.proto import TestApplicationProto
from unit.option import option from unit.option import option
from unit.utils import waitforfiles from unit.utils import waitforfiles

View File

@@ -4,7 +4,6 @@ import ssl
import subprocess import subprocess
import pytest import pytest
from unit.applications.tls import TestApplicationTLS from unit.applications.tls import TestApplicationTLS
from unit.option import option from unit.option import option