summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_php_application.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py
index 7e75a73d..08c50075 100644
--- a/test/test_php_application.py
+++ b/test/test_php_application.py
@@ -116,6 +116,8 @@ class TestPHPApplication(TestApplicationPHP):
def test_php_application_keepalive_body(self):
self.load('mirror')
+ self.assertEqual(self.get()['status'], 200, 'init')
+
(resp, sock) = self.post(
headers={
'Host': 'localhost',
@@ -124,6 +126,7 @@ class TestPHPApplication(TestApplicationPHP):
},
start=True,
body='0123456789' * 500,
+ read_timeout=1,
)
self.assertEqual(resp['body'], '0123456789' * 500, 'keep-alive 1')