~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_permissions.py

  • Committer: Jelmer Vernooij
  • Date: 2012-04-02 01:44:26 UTC
  • mfrom: (6518 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6519.
  • Revision ID: jelmer@samba.org-20120402014426-0o5qtysohyl006b2
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
from bzrlib import tests
34
34
from bzrlib.branch import BzrBranch
35
 
from bzrlib.bzrdir import BzrDir
 
35
from bzrlib.controldir import ControlDir
36
36
from bzrlib.remote import RemoteBranchFormat
37
37
from bzrlib.tests.test_permissions import check_mode_r
38
38
 
126
126
            raise tests.TestNotApplicable('Remote branches have no'
127
127
                                          ' permission logic')
128
128
        self.make_branch_and_tree('.')
129
 
        bzrdir = BzrDir.open('.')
 
129
        bzrdir = ControlDir.open('.')
130
130
        # Monkey patch the transport
131
131
        _orig_stat = bzrdir.transport.stat
132
132
        def null_perms_stat(*args, **kwargs):