/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/tests/test_remote.py

  • Committer: Jelmer Vernooij
  • Date: 2020-07-28 00:32:38 UTC
  • mfrom: (7490.40.77 work)
  • mto: (7490.40.79 work)
  • mto: This revision was merged to the branch mainline in revision 7521.
  • Revision ID: jelmer@jelmer.uk-20200728003238-vx5u412hn72f18lr
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
""")
146
146
        self.assertIsInstance(e, NotBranchError)
147
147
 
 
148
    def test_invalid_git_error(self):
 
149
        self.assertEqual(
 
150
            PermissionDenied(
 
151
                'url',
 
152
                'GitLab: You are not allowed to push code to protected '
 
153
                'branches on this project.'),
 
154
            parse_git_error(
 
155
                'url',
 
156
                RemoteGitError(
 
157
                    'GitLab: You are not allowed to push code to '
 
158
                    'protected branches on this project.')))
 
159
 
148
160
 
149
161
class ParseHangupTests(TestCase):
150
162