summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications
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
parent48ae47017bef218d1bc8e16f2bb7e0347b5b0e4c (diff)
downloadunit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.gz
unit-c1a3b06d03c01e4ed40018944b90e6347ebf77d7.tar.bz2
Tests: using "pass" option instead of deprecated "application".
Diffstat (limited to 'test/unit/applications')
-rw-r--r--test/unit/applications/lang/go.py2
-rw-r--r--test/unit/applications/lang/java.py2
-rw-r--r--test/unit/applications/lang/node.py2
-rw-r--r--test/unit/applications/lang/perl.py2
-rw-r--r--test/unit/applications/lang/php.py2
-rw-r--r--test/unit/applications/lang/python.py2
-rw-r--r--test/unit/applications/lang/ruby.py2
-rw-r--r--test/unit/applications/tls.py2
8 files changed, 8 insertions, 8 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",
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py
index 91bfb9ec..30d186cd 100644
--- a/test/unit/applications/lang/java.py
+++ b/test/unit/applications/lang/java.py
@@ -60,7 +60,7 @@ class TestApplicationJava(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"unit_jars": self.pardir + '/build',
diff --git a/test/unit/applications/lang/node.py b/test/unit/applications/lang/node.py
index f1b99cc7..191cfed5 100644
--- a/test/unit/applications/lang/node.py
+++ b/test/unit/applications/lang/node.py
@@ -21,7 +21,7 @@ class TestApplicationNode(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"type": "external",
diff --git a/test/unit/applications/lang/perl.py b/test/unit/applications/lang/perl.py
index 6970873d..d93c15e1 100644
--- a/test/unit/applications/lang/perl.py
+++ b/test/unit/applications/lang/perl.py
@@ -7,7 +7,7 @@ class TestApplicationPerl(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"type": "perl",
diff --git a/test/unit/applications/lang/php.py b/test/unit/applications/lang/php.py
index c4043764..18c126d5 100644
--- a/test/unit/applications/lang/php.py
+++ b/test/unit/applications/lang/php.py
@@ -7,7 +7,7 @@ class TestApplicationPHP(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"type": "php",
diff --git a/test/unit/applications/lang/python.py b/test/unit/applications/lang/python.py
index 8c2c8707..31e9b92c 100644
--- a/test/unit/applications/lang/python.py
+++ b/test/unit/applications/lang/python.py
@@ -10,7 +10,7 @@ class TestApplicationPython(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": name}},
+ "listeners": {"*:7080": {"pass": "applications/" + name}},
"applications": {
name: {
"type": "python",
diff --git a/test/unit/applications/lang/ruby.py b/test/unit/applications/lang/ruby.py
index 94086d26..0417a915 100644
--- a/test/unit/applications/lang/ruby.py
+++ b/test/unit/applications/lang/ruby.py
@@ -7,7 +7,7 @@ class TestApplicationRuby(TestApplicationProto):
self.conf(
{
- "listeners": {"*:7080": {"application": script}},
+ "listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
"type": "ruby",
diff --git a/test/unit/applications/tls.py b/test/unit/applications/tls.py
index 1e1f3675..83cc1a03 100644
--- a/test/unit/applications/tls.py
+++ b/test/unit/applications/tls.py
@@ -78,7 +78,7 @@ distinguished_name = req_distinguished_name
self.conf(
{
- "listeners": {"*:7080": {"application": name}},
+ "listeners": {"*:7080": {"pass": "applications/" + name}},
"applications": {
name: {
"type": "python",