summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/perl.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/applications/lang/perl.py')
-rw-r--r--test/unit/applications/lang/perl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/applications/lang/perl.py b/test/unit/applications/lang/perl.py
index 8aaf33a4..79df2cfa 100644
--- a/test/unit/applications/lang/perl.py
+++ b/test/unit/applications/lang/perl.py
@@ -2,6 +2,8 @@ from unit.applications.proto import TestApplicationProto
class TestApplicationPerl(TestApplicationProto):
+ application_type = "perl"
+
def load(self, script, name='psgi.pl'):
script_path = self.current_dir + '/perl/' + script
@@ -10,7 +12,7 @@ class TestApplicationPerl(TestApplicationProto):
"listeners": {"*:7080": {"pass": "applications/" + script}},
"applications": {
script: {
- "type": "perl",
+ "type": self.application_type,
"processes": {"spare": 0},
"working_directory": script_path,
"script": script_path + '/' + name,