summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_settings.py b/test/test_settings.py
index f8e83c8f..9fb21fd7 100644
--- a/test/test_settings.py
+++ b/test/test_settings.py
@@ -77,7 +77,7 @@ Content-Length: %d
self.assertRegex(data, r'200 OK', 'status send timeout')
self.assertLess(len(data), data_len, 'data send timeout')
-
+ @unittest.expectedFailure
def test_settings_idle_timeout(self):
self.load('empty')
@@ -95,7 +95,7 @@ Content-Length: %d
'Host': 'localhost'
}, sock=sock)
- self.assertEqual(resp, {}, 'idle timeout')
+ self.assertEqual(resp['status'], 408, 'status body idle timeout')
def test_settings_max_body_size(self):
self.load('empty')