/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/blackbox/test_reference.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2017-06-10 18:39:27 UTC
  • mfrom: (6653.6.7 rename-controldir)
  • Revision ID: breezy.the.bot@gmail.com-20170610183927-8yn4wmsk1ki92xc3
Rename ``bzrdir`` attribute to ``controldir``.

Merged from https://code.launchpad.net/~jelmer/brz/rename-controldir/+merge/325433

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
class TestReference(TestCaseWithTransport):
26
26
 
27
27
    def get_default_format(self):
28
 
        format = controldir.format_registry.make_bzrdir('1.9')
 
28
        format = controldir.format_registry.make_controldir('1.9')
29
29
        format.set_branch_format(_mod_bzrbranch.BzrBranchFormat8())
30
30
        return format
31
31
 
55
55
    def test_uses_basis_tree_location(self):
56
56
        tree = self.make_tree_with_reference()
57
57
        tree.commit('add newpath')
58
 
        tree.bzrdir.destroy_workingtree()
 
58
        tree.controldir.destroy_workingtree()
59
59
        out, err = self.run_bzr('reference', working_dir='tree')
60
60
        self.assertContainsRe(out, 'newpath http://example.org\n')
61
61