~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

Reinstate Memory parameter tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
730
730
    def get_bogus_transport(self):
731
731
        from bzrlib.transport.http import HttpTransport
732
732
        return HttpTransport('http://jasldkjsalkdjalksjdkljasd')
 
733
 
 
734
 
 
735
class MemoryTransportTest(TestCase):
 
736
    """Memory transport specific tests."""
 
737
 
 
738
    def test_parameters(self):
 
739
        import bzrlib.transport.memory as memory
 
740
        transport = memory.MemoryTransport()
 
741
        self.assertEqual(True, transport.listable())
 
742
        self.assertEqual(False, transport.should_cache())
 
743
        self.assertEqual(False, transport.is_readonly())