/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_urls.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
    def test_simple(self):
30
30
        self.assertEqual(
31
 
                git_url_to_bzr_url('foo:bar/path'),
32
 
                'git+ssh://foo/bar/path')
 
31
            git_url_to_bzr_url('foo:bar/path'),
 
32
            'git+ssh://foo/bar/path')
33
33
        self.assertEqual(
34
 
                git_url_to_bzr_url(
35
 
                    'user@foo:bar/path'),
36
 
                ('git+ssh://user@foo/bar/path'))
 
34
            git_url_to_bzr_url(
 
35
                'user@foo:bar/path'),
 
36
            ('git+ssh://user@foo/bar/path'))
37
37
 
38
38
    def test_regular(self):
39
39
        self.assertEqual(
40
 
                git_url_to_bzr_url(
41
 
                    'git+ssh://user@foo/bar/path'),
42
 
                ('git+ssh://user@foo/bar/path'))
 
40
            git_url_to_bzr_url(
 
41
                'git+ssh://user@foo/bar/path'),
 
42
            ('git+ssh://user@foo/bar/path'))
43
43
 
44
44
    def test_path(self):
45
45
        self.assertEqual(
46
 
                git_url_to_bzr_url(
47
 
                    '/bar/path'),
48
 
                ('/bar/path'))
 
46
            git_url_to_bzr_url(
 
47
                '/bar/path'),
 
48
            ('/bar/path'))