/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-08-11 15:58:37 UTC
  • mfrom: (7379.1.1 fix-git-subpath)
  • Revision ID: breezy.the.bot@gmail.com-20190811155837-dcw5rg7nqi2g2rct
Properly interpret error message about subpath on github.

Merged from https://code.launchpad.net/~jelmer/brz/fix-git-subpath/+merge/371168

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        self.assertEqual(e.path, 'porridge/gaduhistory.git')
126
126
        self.assertEqual(e.extra, ': denied to jelmer')
127
127
 
 
128
    def test_invalid_repo_name(self):
 
129
        e = parse_git_error(
 
130
            "url",
 
131
            """Gregwar/fatcat/tree/debian is not a valid repository name
 
132
Email support@github.com for help
 
133
""")
 
134
        self.assertIsInstance(e, NotBranchError)
 
135
 
128
136
 
129
137
class TestRemoteGitBranchFormat(TestCase):
130
138