summaryrefslogtreecommitdiffhomepage
path: root/test/test_settings.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
commit3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch)
treed23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_settings.py
parent47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff)
downloadunit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz
unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2
Tests: removed unused variables.
Diffstat (limited to 'test/test_settings.py')
-rw-r--r--test/test_settings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_settings.py b/test/test_settings.py
index 965f7197..857bddcc 100644
--- a/test/test_settings.py
+++ b/test/test_settings.py
@@ -89,7 +89,7 @@ class TestSettings(TestApplicationPython):
self.load('empty')
def req():
- (resp, sock) = self.http(
+ (_, sock) = self.http(
b"""GET / HTTP/1.1
""",
start=True,
@@ -173,7 +173,7 @@ Connection: close
self.load('empty')
def req():
- (resp, sock) = self.http(
+ (_, sock) = self.http(
b"""POST / HTTP/1.1
Host: localhost
Content-Length: 10
@@ -293,7 +293,7 @@ Connection: close
self.load('empty')
def req():
- (resp, sock) = self.get(
+ (_, sock) = self.get(
headers={'Host': 'localhost', 'Connection': 'keep-alive'},
start=True,
read_timeout=1,