summaryrefslogtreecommitdiffhomepage
path: root/test/unit/http.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-12-09 16:17:46 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-12-09 16:17:46 +0000
commit7be62c3c213c3da1da1a45c8db16192eb0ed14d8 (patch)
tree6c44a78d9e8fb357998f887390b472497a953d35 /test/unit/http.py
parent4c846ae69308983050a55f6467c2d53e78120e0b (diff)
downloadunit-7be62c3c213c3da1da1a45c8db16192eb0ed14d8.tar.gz
unit-7be62c3c213c3da1da1a45c8db16192eb0ed14d8.tar.bz2
Tests: TestUnit class removed.
Prerequisite checks moved to the fixture in conftest.py.
Diffstat (limited to 'test/unit/http.py')
-rw-r--r--test/unit/http.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/http.py b/test/unit/http.py
index ae74eac3..57e6ed3a 100644
--- a/test/unit/http.py
+++ b/test/unit/http.py
@@ -7,11 +7,10 @@ import select
import socket
import pytest
-from unit.main import TestUnit
from unit.option import option
-class TestHTTP(TestUnit):
+class TestHTTP():
def http(self, start_str, **kwargs):
sock_type = kwargs.get('sock_type', 'ipv4')
port = kwargs.get('port', 7080)