/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): Vincent Ladeuil
  • Date: 2019-11-19 20:32:00 UTC
  • mfrom: (7413.1.2 trunk)
  • Revision ID: breezy.the.bot@gmail.com-20191119203200-fy55qqighr2xkr8r
Merge lp:brz/3.0 after 3.0.2 release.

Merged from https://code.launchpad.net/~vila/brz/trunk/+merge/375724

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