/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: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for url handling."""
18
18
 
 
19
from __future__ import absolute_import
 
20
 
19
21
from ...tests import TestCase
20
22
from ..urls import (
21
23
    git_url_to_bzr_url,
39
41
                'git+ssh://user@foo/bar/path'),
40
42
            ('git+ssh://user@foo/bar/path'))
41
43
 
42
 
    def test_just_ssh(self):
43
 
        self.assertEqual(
44
 
            git_url_to_bzr_url(
45
 
                'ssh://user@foo/bar/path'),
46
 
            ('git+ssh://user@foo/bar/path'))
47
 
 
48
44
    def test_path(self):
49
45
        self.assertEqual(git_url_to_bzr_url('/bar/path'), ('/bar/path'))
50
46