summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-04-26 17:37:24 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-04-26 17:37:24 +0300
commitd9f8479375fb6231db26e53a6549f2b96108faee (patch)
tree51f2f782db679cd454260fc7da02db337386e8f2 /test/test_access_log.py
parenta44d358f2949e420dc82b530e07f21ae158f00ae (diff)
downloadunit-d9f8479375fb6231db26e53a6549f2b96108faee.tar.gz
unit-d9f8479375fb6231db26e53a6549f2b96108faee.tar.bz2
Tests: response handling improved.
Diffstat (limited to '')
-rw-r--r--test/test_access_log.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py
index a2b3287e..bee7a7e5 100644
--- a/test/test_access_log.py
+++ b/test/test_access_log.py
@@ -167,7 +167,7 @@ Connection: close
def test_access_log_partial(self):
self.load('empty')
- self.http(b"""GE""", raw_resp=True, raw=True)
+ self.http(b"""GE""", raw=True)
time.sleep(0.2)
@@ -179,7 +179,7 @@ Connection: close
def test_access_log_partial_2(self):
self.load('empty')
- self.http(b"""GET /\n""", raw_resp=True, raw=True)
+ self.http(b"""GET /\n""", raw=True)
time.sleep(0.2)
@@ -191,7 +191,7 @@ Connection: close
def test_access_log_partial_3(self):
self.load('empty')
- self.http(b"""GET / HTTP/1.1""", raw_resp=True, raw=True)
+ self.http(b"""GET / HTTP/1.1""", raw=True)
time.sleep(0.2)
@@ -203,7 +203,7 @@ Connection: close
def test_access_log_partial_4(self):
self.load('empty')
- resp = self.http(b"""GET / HTTP/1.1\n""", raw_resp=True, raw=True)
+ resp = self.http(b"""GET / HTTP/1.1\n""", raw=True)
time.sleep(0.2)
@@ -216,7 +216,7 @@ Connection: close
def test_access_log_partial_5(self):
self.load('empty')
- self.http(b"""GET / HTTP/1.1\n\n""", raw_resp=True, raw=True)
+ self.http(b"""GET / HTTP/1.1\n\n""", raw=True)
self.stop()