From 29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 9 Apr 2019 20:59:35 +0300 Subject: Tests: speed up tests. --- test/test_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_settings.py') diff --git a/test/test_settings.py b/test/test_settings.py index 4e604f21..47c891c9 100644 --- a/test/test_settings.py +++ b/test/test_settings.py @@ -42,7 +42,6 @@ Connection: close b"""GET / HTTP/1.1 """, start=True, - read_timeout=1, raw=True, no_recv=True, ) @@ -54,7 +53,6 @@ Connection: close """, start=True, sock=sock, - read_timeout=1, raw=True, no_recv=True, ) @@ -189,6 +187,8 @@ Connection: close def test_settings_idle_timeout(self): self.load('empty') + self.assertEqual(self.get()['status'], 200, 'init') + self.conf({'http': {'idle_timeout': 2}}, 'settings') (resp, sock) = self.get( -- cgit