summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/java.py
diff options
context:
space:
mode:
authorTiago Natel <t.nateldemoura@f5.com>2019-11-11 14:35:29 +0000
committerTiago Natel <t.nateldemoura@f5.com>2019-11-11 14:35:29 +0000
commitabbad122bb48cb1d8b650158a3e6180dbe5ee9e5 (patch)
treeac2199ac78c6902eb6c674600fc5c5ee718076fc /test/unit/applications/lang/java.py
parent417cc7be7c0c6f6e62f0916f671bbf0a4460226b (diff)
downloadunit-abbad122bb48cb1d8b650158a3e6180dbe5ee9e5.tar.gz
unit-abbad122bb48cb1d8b650158a3e6180dbe5ee9e5.tar.bz2
Tests: added support for testing "user" and "group".
Diffstat (limited to 'test/unit/applications/lang/java.py')
-rw-r--r--test/unit/applications/lang/java.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py
index bcf87f59..a370d96b 100644
--- a/test/unit/applications/lang/java.py
+++ b/test/unit/applications/lang/java.py
@@ -6,7 +6,7 @@ from unit.applications.proto import TestApplicationProto
class TestApplicationJava(TestApplicationProto):
- def load(self, script, name='app'):
+ def load(self, script, name='app', **kwargs):
app_path = self.testdir + '/java'
web_inf_path = app_path + '/WEB-INF/'
classes_path = web_inf_path + 'classes/'
@@ -82,5 +82,6 @@ class TestApplicationJava(TestApplicationProto):
"webapp": app_path,
}
},
- }
+ },
+ **kwargs
)