Tests: minor fixes.

This commit is contained in:
Andrey Zelenkov
2019-02-14 16:09:19 +03:00
parent 0f008918b3
commit 7ce9f61cb6
2 changed files with 3 additions and 5 deletions

View File

@@ -28,8 +28,6 @@ Connection: close
def test_settings_header_read_timeout_update(self):
self.load('empty')
r = None
self.conf({'http': { 'header_read_timeout': 4 }}, 'settings')
(resp, sock) = self.http(b"""GET / HTTP/1.1

View File

@@ -235,7 +235,7 @@ class TestUnit(unittest.TestCase):
if sanitizer_errors:
self._print_path_to_log()
self.assertFalse(sanitizer_error, 'sanitizer error(s)')
self.assertFalse(sanitizer_errors, 'sanitizer error(s)')
if found:
print('skipped.')