diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
commit | 3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch) | |
tree | d23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_asgi_application.py | |
parent | 47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff) | |
download | unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2 |
Tests: removed unused variables.
Diffstat (limited to '')
-rw-r--r-- | test/test_asgi_application.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_asgi_application.py b/test/test_asgi_application.py index fb5e1742..10e72367 100644 --- a/test/test_asgi_application.py +++ b/test/test_asgi_application.py @@ -59,7 +59,7 @@ custom-header: BLAH }, 'headers' assert resp['body'] == body, 'body' - def test_asgi_application_ipv6(self, temp_dir): + def test_asgi_application_ipv6(self): self.load('empty') assert 'success' in self.conf( @@ -401,7 +401,7 @@ Connection: close socks = [] - for i in range(2): + for _ in range(2): sock = self.get( headers={ 'Host': 'localhost', |