~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_extract.py

[BROKEN] Many updates to stop using experimental formats in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        self.assertEqual(b_branch.base, b_branch_ref.base)
67
67
 
68
68
    def test_bad_repo_format(self):
69
 
        repo = self.make_repository('branch', shared=True, 
 
69
        repo = self.make_repository('branch', shared=True,
70
70
                                    format='knit')
71
71
        a_branch = repo.bzrdir.create_branch()
72
 
        self.assertRaises(errors.RootNotRich, self.extract_in_checkout, 
 
72
        self.assertRaises(errors.RootNotRich, self.extract_in_checkout,
73
73
                          a_branch)
74
74
 
75
75
    def test_good_repo_format(self):
76
 
        repo = self.make_repository('branch', shared=True, 
77
 
                                    format='experimental-knit2')
 
76
        repo = self.make_repository('branch', shared=True,
 
77
            format='dirstate-with-subtree')
78
78
        a_branch = repo.bzrdir.create_branch()
79
79
        wt_b = self.extract_in_checkout(a_branch)
80
80
        self.assertEqual(wt_b.branch.repository.bzrdir.transport.base,