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 TestApplicationRuby(TestApplicationProto):
application_type = "ruby"
def load(self, script, name='config.ru'):
def load(self, script, name='config.ru', **kwargs):
script_path = self.current_dir + '/ruby/' + script
self._load_conf(
@@ -18,5 +18,6 @@ class TestApplicationRuby(TestApplicationProto):
"script": script_path + '/' + name,
}
},
}
},
**kwargs
)