~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2008-05-21 03:01:10 UTC
  • mto: This revision was merged to the branch mainline in revision 3445.
  • Revision ID: mbp@sourcefrog.net-20080521030110-xcx9y72316480tvo
Correction to branch permissions test

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        os.chmod('c', 02750)
75
75
        b = self.make_branch('c')
76
76
        self.assertEqualMode(02750, b.bzrdir._get_dir_mode())
77
 
        self.assertEqualMode(02750, b.bzrdir._get_dir_mode())
78
 
        self.assertEqualMode(00640, b.control_files._file_mode)
 
77
        self.assertEqualMode(00640, b.bzrdir._get_file_mode())
 
78
        self.assertEqualMode(02750, b.control_files._dir_mode)
79
79
        self.assertEqualMode(00640, b.control_files._file_mode)
80
80
        check_mode_r(self, 'c/.bzr', 00640, 02750)
81
81