diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 20:59:35 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 20:59:35 +0300 |
commit | 29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e (patch) | |
tree | f1b8944daa883776d672e3ffb7d37009f0004462 /test/test_settings.py | |
parent | 549f0873c2beed9517fb4006e1f0a63e0019abb3 (diff) | |
download | unit-29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e.tar.gz unit-29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e.tar.bz2 |
Tests: speed up tests.
Diffstat (limited to 'test/test_settings.py')
-rw-r--r-- | test/test_settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
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( |