diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/applications/lang/go.py | 2 | ||||
-rw-r--r-- | test/unit/applications/lang/java.py | 4 | ||||
-rw-r--r-- | test/unit/applications/lang/node.py | 4 | ||||
-rw-r--r-- | test/unit/applications/lang/perl.py | 2 | ||||
-rw-r--r-- | test/unit/applications/lang/php.py | 2 | ||||
-rw-r--r-- | test/unit/applications/lang/python.py | 6 | ||||
-rw-r--r-- | test/unit/applications/lang/ruby.py | 2 | ||||
-rw-r--r-- | test/unit/applications/proto.py | 2 | ||||
-rw-r--r-- | test/unit/applications/tls.py | 3 | ||||
-rw-r--r-- | test/unit/applications/websockets.py | 3 | ||||
-rw-r--r-- | test/unit/http.py | 4 | ||||
-rw-r--r-- | test/unit/main.py | 12 |
12 files changed, 23 insertions, 23 deletions
diff --git a/test/unit/applications/lang/go.py b/test/unit/applications/lang/go.py index 946b5421..7715bd6c 100644 --- a/test/unit/applications/lang/go.py +++ b/test/unit/applications/lang/go.py @@ -1,8 +1,8 @@ import os import subprocess -from unit.applications.proto import TestApplicationProto from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationGo(TestApplicationProto): diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py index 93427709..01cbfa0b 100644 --- a/test/unit/applications/lang/java.py +++ b/test/unit/applications/lang/java.py @@ -1,11 +1,11 @@ import glob import os -import pytest import shutil import subprocess -from unit.applications.proto import TestApplicationProto +import pytest from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationJava(TestApplicationProto): diff --git a/test/unit/applications/lang/node.py b/test/unit/applications/lang/node.py index dbb7036b..877fc461 100644 --- a/test/unit/applications/lang/node.py +++ b/test/unit/applications/lang/node.py @@ -1,9 +1,9 @@ -import os import shutil from urllib.parse import quote +from conftest import option +from conftest import public_dir from unit.applications.proto import TestApplicationProto -from conftest import option, public_dir class TestApplicationNode(TestApplicationProto): diff --git a/test/unit/applications/lang/perl.py b/test/unit/applications/lang/perl.py index d686cc8a..a27c7649 100644 --- a/test/unit/applications/lang/perl.py +++ b/test/unit/applications/lang/perl.py @@ -1,5 +1,5 @@ -from unit.applications.proto import TestApplicationProto from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationPerl(TestApplicationProto): diff --git a/test/unit/applications/lang/php.py b/test/unit/applications/lang/php.py index 6ac3d710..2d50df2e 100644 --- a/test/unit/applications/lang/php.py +++ b/test/unit/applications/lang/php.py @@ -1,5 +1,5 @@ -from unit.applications.proto import TestApplicationProto from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationPHP(TestApplicationProto): diff --git a/test/unit/applications/lang/python.py b/test/unit/applications/lang/python.py index 75d34722..47b95dac 100644 --- a/test/unit/applications/lang/python.py +++ b/test/unit/applications/lang/python.py @@ -1,10 +1,10 @@ import os import shutil -import pytest - -from unit.applications.proto import TestApplicationProto from urllib.parse import quote + +import pytest from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationPython(TestApplicationProto): diff --git a/test/unit/applications/lang/ruby.py b/test/unit/applications/lang/ruby.py index a6c39b2a..bc3cefc6 100644 --- a/test/unit/applications/lang/ruby.py +++ b/test/unit/applications/lang/ruby.py @@ -1,5 +1,5 @@ -from unit.applications.proto import TestApplicationProto from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationRuby(TestApplicationProto): diff --git a/test/unit/applications/proto.py b/test/unit/applications/proto.py index 7bf7e244..2f748c21 100644 --- a/test/unit/applications/proto.py +++ b/test/unit/applications/proto.py @@ -2,8 +2,8 @@ import os import re import time -from unit.control import TestControl from conftest import option +from unit.control import TestControl class TestApplicationProto(TestControl): diff --git a/test/unit/applications/tls.py b/test/unit/applications/tls.py index 7c95f27b..fdf681ae 100644 --- a/test/unit/applications/tls.py +++ b/test/unit/applications/tls.py @@ -1,10 +1,9 @@ import os -import re import ssl import subprocess -from unit.applications.proto import TestApplicationProto from conftest import option +from unit.applications.proto import TestApplicationProto class TestApplicationTLS(TestApplicationProto): diff --git a/test/unit/applications/websockets.py b/test/unit/applications/websockets.py index bae40620..cc720a98 100644 --- a/test/unit/applications/websockets.py +++ b/test/unit/applications/websockets.py @@ -1,12 +1,11 @@ import base64 import hashlib import itertools -import pytest import random -import re import select import struct +import pytest from unit.applications.proto import TestApplicationProto GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" diff --git a/test/unit/http.py b/test/unit/http.py index e5231b3d..7845f9a8 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -2,14 +2,14 @@ import binascii import io import json import os -import pytest import re import select import socket import time -from unit.main import TestUnit +import pytest from conftest import option +from unit.main import TestUnit class TestHTTP(TestUnit): diff --git a/test/unit/main.py b/test/unit/main.py index 053ce145..d5940995 100644 --- a/test/unit/main.py +++ b/test/unit/main.py @@ -1,19 +1,21 @@ -import argparse import atexit import os -import platform -import pytest import re import shutil import signal import stat import subprocess -import sys import tempfile import time -from conftest import option, public_dir, waitforfiles, _check_alerts, _print_log from multiprocessing import Process +import pytest +from conftest import _check_alerts +from conftest import _print_log +from conftest import option +from conftest import public_dir +from conftest import waitforfiles + class TestUnit(): @classmethod |