Fix a typo in an error message

This commit is contained in:
mprahl
2019-08-22 17:15:55 -04:00
parent c8c028d989
commit f3db9a0ac2
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -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"})