/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: Aaron Bentley
  • Date: 2009-03-12 07:00:36 UTC
  • mfrom: (4125 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4127.
  • Revision ID: aaron@aaronbentley.com-20090312070036-am7ni53tebog0090
Merge bzr.dev into destructive-shelve

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        b = BzrDir.open_from_transport(self.transport).open_branch()
115
115
        self.assertStartsWith(str(b), 'RemoteBranch(')
116
116
 
 
117
    def test_remote_branch_format_supports_stacking(self):
 
118
        t = self.transport
 
119
        self.make_branch('unstackable', format='pack-0.92')
 
120
        b = BzrDir.open_from_transport(t.clone('unstackable')).open_branch()
 
121
        self.assertFalse(b._format.supports_stacking())
 
122
        self.make_branch('stackable', format='1.9')
 
123
        b = BzrDir.open_from_transport(t.clone('stackable')).open_branch()
 
124
        self.assertTrue(b._format.supports_stacking())
 
125
 
117
126
 
118
127
class FakeProtocol(object):
119
128
    """Lookalike SmartClientRequestProtocolOne allowing body reading tests."""