/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_remote.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-30 02:04:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2468.
  • Revision ID: andrew.bennetts@canonical.com-20070430020406-9vvmb4f9x8bdmvv8
Remove another XXX.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        self.assertIsInstance(d, BzrDir)
100
100
 
101
101
 
102
 
class ReadonlyRemoteTransportTests(tests.TestCaseWithTransport):
103
 
 
104
 
    def setUp(self):
105
 
        self.transport_server = server.ReadonlySmartTCPServer_for_testing
106
 
        super(ReadonlyRemoteTransportTests, self).setUp()
107
 
 
108
 
    def test_is_readonly_yes(self):
109
 
        # XXX: this is a poor way to test RemoteTransport, but currently there's
110
 
        # no easy way to substitute in a fake client on a transport like we can
111
 
        # with RemoteBzrDir/Branch/Repository.
112
 
        transport = self.get_readonly_transport()
113
 
        self.assertEqual(transport.is_readonly(), True)
114
 
 
115
 
 
116
102
class FakeProtocol(object):
117
103
    """Lookalike SmartClientRequestProtocolOne allowing body reading tests."""
118
104