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

  • Committer: Jonathan Lange
  • Date: 2007-04-22 23:00:56 UTC
  • mfrom: (2440 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2446.
  • Revision ID: jml@canonical.com-20070422230056-mfu7bo3ydrbbag7p
Merge bzr.dev, resolving conflicts in error code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    osutils,
32
32
    urlutils,
33
33
    )
34
 
from bzrlib.errors import (DirectoryNotEmpty, NoSuchFile, FileExists,
35
 
                           LockError, NoSmartServer, PathError,
36
 
                           TransportNotPossible, ConnectionError,
37
 
                           InvalidURL)
 
34
from bzrlib.errors import (ConnectionError,
 
35
                           DirectoryNotEmpty,
 
36
                           FileExists,
 
37
                           InvalidURL,
 
38
                           LockError,
 
39
                           NoSmartServer,
 
40
                           NoSuchFile,
 
41
                           NotLocalUrl,
 
42
                           PathError,
 
43
                           TransportNotPossible,
 
44
                           )
38
45
from bzrlib.osutils import getcwd
39
46
from bzrlib.smart import medium
40
47
from bzrlib.symbol_versioning import zero_eleven
1143
1150
        transport = self.get_transport()
1144
1151
        try:
1145
1152
            p = transport.local_abspath('.')
1146
 
        except TransportNotPossible:
 
1153
        except NotLocalUrl:
1147
1154
            pass # This is not a local transport
1148
1155
        else:
1149
1156
            self.assertEqual(getcwd(), p)