mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 05:03:43 +08:00
15 lines
347 B
Python
15 lines
347 B
Python
|
|
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)
|