summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/go.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/unit/applications/lang/go.py
parent48ae47017bef218d1bc8e16f2bb7e0347b5b0e4c (diff)
downloadunit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.gz
unit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.bz2
Tests: using "pass" option instead of deprecated "application".
Diffstat (limited to 'test/unit/applications/lang/go.py')
-rw-r--r--test/unit/applications/lang/go.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/applications/lang/go.py b/test/unit/applications/lang/go.py
index 4852459c..4e77118b 100644
--- a/test/unit/applications/lang/go.py
+++ b/test/unit/applications/lang/go.py
@@ -27,7 +27,7 @@ class TestApplicationGo(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"type": "external",