/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/tests/test_transport.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
import errno
19
 
from io import BytesIO
20
19
import os
21
20
import subprocess
22
21
import sys
29
28
    transport,
30
29
    urlutils,
31
30
    )
 
31
from ..sixish import (
 
32
    BytesIO,
 
33
    )
32
34
from ..transport import (
33
35
    chroot,
34
36
    fakenfs,
117
119
        try:
118
120
            transport.get_transport_from_url('ssh://fooserver/foo')
119
121
        except errors.UnsupportedProtocol as e:
120
 
            self.assertEqual(
121
 
                'Unsupported protocol'
122
 
                ' for url "ssh://fooserver/foo":'
123
 
                ' Use bzr+ssh for Bazaar operations over SSH, '
124
 
                'e.g. "bzr+ssh://fooserver/foo". Use git+ssh '
125
 
                'for Git operations over SSH, e.g. "git+ssh://fooserver/foo".',
126
 
                str(e))
 
122
            self.assertEqual('Unsupported protocol'
 
123
                             ' for url "ssh://fooserver/foo":'
 
124
                             ' bzr supports bzr+ssh to operate over ssh,'
 
125
                             ' use "bzr+ssh://fooserver/foo".',
 
126
                             str(e))
127
127
        else:
128
128
            self.fail('Did not raise UnsupportedProtocol')
129
129