/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 breezy/tests/test_extract.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:17:06 UTC
  • mto: (6670.4.8 move-bzr)
  • mto: This revision was merged to the branch mainline in revision 6681.
  • Revision ID: jelmer@jelmer.uk-20170610001706-xn6jiuev350246mr
Rename a number of attributes from bzrdir to controldir.

Show diffs side-by-side

added added

removed removed

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