mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-09 08:13:21 +08:00
Fix a typo in an error message
This commit is contained in:
@@ -1013,7 +1013,7 @@ def submit_module_build(db_session, username, mmd, params):
|
||||
branch_search = re.search(regex, branch)
|
||||
if branch_search:
|
||||
raise ValidationError(
|
||||
"Only scratch module builds can be build from this branch."
|
||||
"Only scratch module builds can be built from this branch."
|
||||
)
|
||||
|
||||
log.debug("Creating new module build")
|
||||
|
||||
@@ -1070,7 +1070,7 @@ class TestUtils:
|
||||
mmd_copy.set_xmd({})
|
||||
|
||||
with pytest.raises(ValidationError,
|
||||
match="Only scratch module builds can be build from this branch."):
|
||||
match="Only scratch module builds can be built from this branch."):
|
||||
module_build_service.utils.submit_module_build(
|
||||
db_session, "foo", mmd_copy, {"branch": "private-foo"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user