/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: 2019-12-22 23:16:21 UTC
  • mfrom: (7422 work)
  • mto: This revision was merged to the branch mainline in revision 7426.
  • Revision ID: jelmer@jelmer.uk-20191222231621-3p14u9zaypv3q8zl
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        self.assertEqual(("foo", None, "la", "/bar"),
66
66
                         split_git_url("git://la@foo/bar"))
67
67
 
 
68
    def test_username_password(self):
 
69
        self.assertEqual(
 
70
            ("foo", None, "la", "/bar"),
 
71
            split_git_url("git://la:passwd@foo/bar"))
 
72
 
68
73
    def test_nopath(self):
69
74
        self.assertEqual(("foo", None, None, "/"),
70
75
                         split_git_url("git://foo/"))
77
82
        self.assertEqual(("foo", None, None, "~bar"),
78
83
                         split_git_url("git://foo/~bar"))
79
84
 
 
85
    def test_file(self):
 
86
        self.assertEqual(
 
87
            ("", None, None, "/bar"),
 
88
            split_git_url("file:///bar"))
 
89
 
80
90
 
81
91
class ParseGitErrorTests(TestCase):
82
92