mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-07-09 05:17:49 +08:00
Add test_import_module
This commit is contained in:
14
tests/integration/test_import_module.py
Normal file
14
tests/integration/test_import_module.py
Normal 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)
|
||||
Reference in New Issue
Block a user