diff options
author | Tiago Natel <t.nateldemoura@f5.com> | 2019-11-11 14:35:29 +0000 |
---|---|---|
committer | Tiago Natel <t.nateldemoura@f5.com> | 2019-11-11 14:35:29 +0000 |
commit | abbad122bb48cb1d8b650158a3e6180dbe5ee9e5 (patch) | |
tree | ac2199ac78c6902eb6c674600fc5c5ee718076fc /test/unit/applications/lang/node.py | |
parent | 417cc7be7c0c6f6e62f0916f671bbf0a4460226b (diff) | |
download | unit-abbad122bb48cb1d8b650158a3e6180dbe5ee9e5.tar.gz unit-abbad122bb48cb1d8b650158a3e6180dbe5ee9e5.tar.bz2 |
Tests: added support for testing "user" and "group".
Diffstat (limited to 'test/unit/applications/lang/node.py')
-rw-r--r-- | test/unit/applications/lang/node.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/applications/lang/node.py b/test/unit/applications/lang/node.py index f2752321..d818298f 100644 --- a/test/unit/applications/lang/node.py +++ b/test/unit/applications/lang/node.py @@ -15,7 +15,7 @@ class TestApplicationNode(TestApplicationProto): return unit if not complete_check else unit.complete() - def load(self, script, name='app.js'): + def load(self, script, name='app.js', **kwargs): # copy application shutil.copytree( @@ -42,5 +42,6 @@ class TestApplicationNode(TestApplicationProto): "executable": name, } }, - } + }, + **kwargs ) |