/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: Martin Pool
  • Date: 2009-03-12 05:44:43 UTC
  • mfrom: (4124 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4144.
  • Revision ID: mbp@sourcefrog.net-20090312054443-rz5kodxh1cjjx2id
merge trunk

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."""