#4585 ui/fork.py: fix typo
Merged 4 years ago by pingou. Opened 4 years ago by jlanda.
jlanda/pagure fix-merge-error-typo  into  master

file modified
+1 -1
@@ -92,7 +92,7 @@ 

          "necessary to be merged"

      )

      EPRCONFLICTS = "This pull-request conflicts and thus cannot be merged"

-     ENOTASSIGNEE = "Only the assignee can merge this review"

+     ENOTASSIGNEE = "Only the assignee can merge this request"

      ENOTASSIGNED = "This request must be assigned to be merged"

      ENOUSER = "No such user found"

      ENOCOMMENT = "Comment not found"

file modified
+1 -1
@@ -1115,7 +1115,7 @@ 

                  )

              )

          if request.assignee.username != flask.g.fas_user.username:

-             flask.flash("Only the assignee can merge this review", "error")

+             flask.flash("Only the assignee can merge this request", "error")

              return flask.redirect(

                  flask.url_for(

                      "ui_ns.request_pull",

@@ -1191,7 +1191,7 @@ 

          self.assertDictEqual(

              data,

              {

-                 "error": "Only the assignee can merge this review",

+                 "error": "Only the assignee can merge this request",

                  "error_code": "ENOTASSIGNEE",

              },

          )

@@ -702,7 +702,7 @@ 

                  output_text,

              )

              self.assertIn(

-                 "Only the assignee can " "merge this review", output_text

+                 "Only the assignee can merge this request", output_text

              )

  

              # Project w/ minimal PR score