/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: 2008-02-06 03:52:25 UTC
  • mto: This revision was merged to the branch mainline in revision 3220.
  • Revision ID: andrew.bennetts@canonical.com-20080206035225-q572lt8uhrpl22dj
Recover (by reconnecting) if the server turns out not to understand the new requests in 1.2 that send bodies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 
164
164
    def __init__(self, base):
165
165
        self.base = base
 
166
        self.connection = FakeConnection()
 
167
 
 
168
 
 
169
class FakeConnection(object):
 
170
 
 
171
    def __init__(self):
 
172
        self._remote_is_at_least_1_2 = True
 
173
 
 
174
    def disconnect(self):
 
175
        pass
166
176
 
167
177
 
168
178
class TestVfsHas(tests.TestCase):