~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

(John Arbash Meinel) bug #93854, 'bzr checkout' should create branches in the same format as the source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        BranchFormat.unregister_format(format)
176
176
        self.make_branch_and_tree('bar')
177
177
 
178
 
    def test_checkout_format(self):
179
 
        branch = self.make_repository('repository', shared=True)
180
 
        branch = self.make_branch('repository/branch',
181
 
            format='metaweave')
182
 
        tree = branch.create_checkout('checkout')
183
 
        self.assertIs(tree.branch.__class__, _mod_branch.BzrBranch5)
184
 
 
185
178
 
186
179
class TestBranch6(TestCaseWithTransport):
187
180