summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.py
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-04-22 18:20:53 +0300
committerValentin Bartenev <vbart@nginx.com>2019-04-22 18:20:53 +0300
commitc1a3b06d03c01e4ed40018944b90e6347ebf77d7 (patch)
treef05c71841d93db33ef71eca3e55c386746e58f47 /test/test_access_log.py
parent48ae47017bef218d1bc8e16f2bb7e0347b5b0e4c (diff)
downloadunit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.gz
unit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.bz2
Tests: using "pass" option instead of deprecated "application".
Diffstat (limited to '')
-rw-r--r--test/test_access_log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py
index c9588e61..f1dae8ea 100644
--- a/test/test_access_log.py
+++ b/test/test_access_log.py
@@ -92,7 +92,7 @@ Connection: close
def test_access_log_ipv6(self):
self.load('empty')
- self.conf({"[::1]:7080": {"application": "empty"}}, 'listeners')
+ self.conf({"[::1]:7080": {"pass": "applications/empty"}}, 'listeners')
self.get(sock_type='ipv6')
@@ -110,7 +110,7 @@ Connection: close
addr = self.testdir + '/sock'
- self.conf({"unix:" + addr: {"application": "empty"}}, 'listeners')
+ self.conf({"unix:" + addr: {"pass": "applications/empty"}}, 'listeners')
self.get(sock_type='unix', addr=addr)