From f5b1ac0dc6b087b8e72613fb455a97724c832cf3 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 23 Oct 2019 16:05:44 +0300 Subject: Tests: check initial configuration in test_access_log.py. --- test/test_access_log.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_access_log.py b/test/test_access_log.py index 8dc87524..69758bae 100644 --- a/test/test_access_log.py +++ b/test/test_access_log.py @@ -12,7 +12,11 @@ class TestAccessLog(TestApplicationPython): def load(self, script): super().load(script) - self.conf('"' + self.testdir + '/access.log"', 'access_log') + self.assertIn( + 'success', + self.conf('"' + self.testdir + '/access.log"', 'access_log'), + 'access_log configure', + ) def wait_for_record(self, pattern, name='access.log'): return super().wait_for_record(pattern, name) -- cgit