Tests: added support for testing "user" and "group".

This commit is contained in:
Tiago Natel
2019-11-11 14:35:29 +00:00
parent 417cc7be7c
commit abbad122bb
8 changed files with 34 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ from unit.applications.proto import TestApplicationProto
class TestApplicationPerl(TestApplicationProto):
application_type = "perl"
def load(self, script, name='psgi.pl'):
def load(self, script, name='psgi.pl', **kwargs):
script_path = self.current_dir + '/perl/' + script
self._load_conf(
@@ -18,5 +18,6 @@ class TestApplicationPerl(TestApplicationProto):
"script": script_path + '/' + name,
}
},
}
},
**kwargs
)