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

@@ -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
)