diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-10-23 16:05:44 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-10-23 16:05:44 +0300 |
commit | f5b1ac0dc6b087b8e72613fb455a97724c832cf3 (patch) | |
tree | 013379f07412dfa1e338c3db82971f251fedd7fb | |
parent | 31bbc755fdbede63a3680485b305d7c8e2fd00cb (diff) | |
download | unit-f5b1ac0dc6b087b8e72613fb455a97724c832cf3.tar.gz unit-f5b1ac0dc6b087b8e72613fb455a97724c832cf3.tar.bz2 |
Tests: check initial configuration in test_access_log.py.
Diffstat (limited to '')
-rw-r--r-- | test/test_access_log.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |