Add test_import_module

This commit is contained in:
jobrauer
2020-04-07 10:16:11 +02:00
parent f34e68d314
commit 98ed3abc72
4 changed files with 60 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
def test_import_module(scenario, mbs):
"""
Test import module functionality.
Steps:
* Request module import with scmurl provided by test.env.yaml.
Checks:
* Non-error response.
"""
scmurl = scenario.get("scmurl")
assert scmurl, "No SCM URL specified in test.env.yaml file."
mbs.import_module(scmurl)