~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

Merge bzr.dev

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)