summaryrefslogtreecommitdiffhomepage
path: root/test/test_proxy.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-12-12 21:36:44 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-12-12 21:36:44 +0000
commit9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f (patch)
tree17be138c1c40cbbc9be3726a3d35b0a114b94b0d /test/test_proxy.py
parent4b3efcea0dfcc842fb1a0f62b610652323844d35 (diff)
downloadunit-9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f.tar.gz
unit-9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f.tar.bz2
Tests: fixed type of applications.
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r--test/test_proxy.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index 553cb07c..9245ef1c 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -72,7 +72,7 @@ Content-Length: 10
"routes": [{"action": {"proxy": "http://127.0.0.1:7081"}}],
"applications": {
"mirror": {
- "type": "python",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"path": option.test_dir + "/python/mirror",
"working_directory": option.test_dir
@@ -80,7 +80,7 @@ Content-Length: 10
"module": "wsgi",
},
"custom_header": {
- "type": "python",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"path": option.test_dir + "/python/custom_header",
"working_directory": option.test_dir
@@ -88,7 +88,7 @@ Content-Length: 10
"module": "wsgi",
},
"delayed": {
- "type": "python",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"path": option.test_dir + "/python/delayed",
"working_directory": option.test_dir
@@ -123,7 +123,7 @@ Content-Length: 10
},
"applications": {
"mirror": {
- "type": "python",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"path": option.test_dir + "/python/mirror",
"working_directory": option.test_dir
@@ -499,7 +499,7 @@ Content-Length: 10
"routes": [{"action": {"proxy": "http://127.0.0.1:7082"}}],
"applications": {
"mirror": {
- "type": "python",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"path": option.test_dir + "/python/mirror",
"working_directory": option.test_dir