Show More
@@ -80,7 +80,7 b' class PullRequestModel(BaseModel):' | |||
|
80 | 80 | 'This pull request cannot be merged because of an unhandled' |
|
81 | 81 | ' exception.'), |
|
82 | 82 | MergeFailureReason.MERGE_FAILED: lazy_ugettext( |
|
83 | 'This pull request cannot be merged because of conflicts.'), | |
|
83 | 'This pull request cannot be merged because of merge conflicts.'), | |
|
84 | 84 | MergeFailureReason.PUSH_FAILED: lazy_ugettext( |
|
85 | 85 | 'This pull request could not be merged because push to target' |
|
86 | 86 | ' failed.'), |
@@ -183,7 +183,7 b' class TestPullRequestModel:' | |||
|
183 | 183 | assert status is False |
|
184 | 184 | assert ( |
|
185 | 185 | msg.eval() == |
|
186 | 'This pull request cannot be merged because of conflicts.') | |
|
186 | 'This pull request cannot be merged because of merge conflicts.') | |
|
187 | 187 | self.merge_mock.assert_called_once_with( |
|
188 | 188 | pull_request.target_ref_parts, |
|
189 | 189 | pull_request.source_repo.scm_instance(), |
@@ -200,7 +200,7 b' class TestPullRequestModel:' | |||
|
200 | 200 | assert status is False |
|
201 | 201 | assert ( |
|
202 | 202 | msg.eval() == |
|
203 | 'This pull request cannot be merged because of conflicts.') | |
|
203 | 'This pull request cannot be merged because of merge conflicts.') | |
|
204 | 204 | assert self.merge_mock.called is False |
|
205 | 205 | |
|
206 | 206 | def test_merge_status_unknown_failure(self, pull_request): |
General Comments 0
You need to be logged in to leave comments.
Login now