summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-10-23 16:05:44 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-10-23 16:05:44 +0300
commitf5b1ac0dc6b087b8e72613fb455a97724c832cf3 (patch)
tree013379f07412dfa1e338c3db82971f251fedd7fb /test/test_access_log.py
parent31bbc755fdbede63a3680485b305d7c8e2fd00cb (diff)
downloadunit-f5b1ac0dc6b087b8e72613fb455a97724c832cf3.tar.gz
unit-f5b1ac0dc6b087b8e72613fb455a97724c832cf3.tar.bz2
Tests: check initial configuration in test_access_log.py.
Diffstat (limited to 'test/test_access_log.py')
-rw-r--r--test/test_access_log.py6
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)