/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

Start splitting bzrlib/transport/smart.py into a package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
from bzrlib.symbol_versioning import zero_eleven
39
39
from bzrlib.tests import TestCaseInTempDir, TestSkipped
40
40
from bzrlib.tests.test_transport import TestTransportImplementation
41
 
from bzrlib.transport import memory, smart, chroot
 
41
from bzrlib.transport import memory, chroot
 
42
from bzrlib.transport.smart import medium
42
43
import bzrlib.transport
43
44
 
44
45
 
1334
1335
        """
1335
1336
        transport = self.get_transport()
1336
1337
        try:
1337
 
            medium = transport.get_smart_medium()
1338
 
            self.assertIsInstance(medium, smart.SmartClientMedium)
 
1338
            client_medium = transport.get_smart_medium()
 
1339
            self.assertIsInstance(client_medium, medium.SmartClientMedium)
1339
1340
        except errors.NoSmartMedium:
1340
1341
            # as long as we got it we're fine
1341
1342
            pass