From abbad122bb48cb1d8b650158a3e6180dbe5ee9e5 Mon Sep 17 00:00:00 2001 From: Tiago Natel Date: Mon, 11 Nov 2019 14:35:29 +0000 Subject: Tests: added support for testing "user" and "group". --- test/unit/applications/lang/ruby.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/unit/applications/lang/ruby.py') diff --git a/test/unit/applications/lang/ruby.py b/test/unit/applications/lang/ruby.py index d30735ad..8c8acecc 100644 --- a/test/unit/applications/lang/ruby.py +++ b/test/unit/applications/lang/ruby.py @@ -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 ) -- cgit