mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 15:39:50 +08:00
Update error message.
This commit is contained in:
@@ -344,7 +344,7 @@ class DBResolver(GenericResolver):
|
||||
module_tags[koji_tag].append(build.mmd())
|
||||
|
||||
if side_tag and not side_tag_brs_found:
|
||||
msg = "No Buildrequired modules found for side tag ({}) found".format(side_tag)
|
||||
msg = "None of the buildrequired base modules are configured for side tags."
|
||||
if module_build:
|
||||
module_build.log_message(self.db_session, msg)
|
||||
raise RuntimeError(msg)
|
||||
|
||||
@@ -131,7 +131,8 @@ class TestDBModule:
|
||||
with pytest.raises(RuntimeError) as excinfo:
|
||||
result = resolver.get_module_build_dependencies(mmd=mmd).keys()
|
||||
assert set(result) == expected
|
||||
assert "No Buildrequired modules found for side tag (SIDETAG)" in str(excinfo.value)
|
||||
msg = "None of the buildrequired base modules are configured for side tags"
|
||||
assert msg in str(excinfo.value)
|
||||
assert (
|
||||
'Side tag requested, but base module platform lacks koji_side_tag_format value' in
|
||||
caplog.text
|
||||
|
||||
Reference in New Issue
Block a user