#1389 Fix a typo in an error message
Merged 4 years ago by jkaluza. Opened 4 years ago by mprahl.

@@ -1013,7 +1013,7 @@ 

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

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