/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 bzrlib/tests/branch_implementations/test_permissions.py

  • Committer: Martin Pool
  • Date: 2007-04-24 05:02:04 UTC
  • mfrom: (2449 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2450.
  • Revision ID: mbp@sourcefrog.net-20070424050204-bfkc1qiq0axt5f14
Merge trunk & fix NEWS conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
from bzrlib.branch import Branch
36
36
from bzrlib.bzrdir import BzrDir
37
37
from bzrlib.lockable_files import LockableFiles
 
38
from bzrlib.remote import RemoteBranchFormat
38
39
from bzrlib.tests import TestCaseWithTransport, TestSkipped
39
40
from bzrlib.tests.test_permissions import chmod_r, check_mode_r
40
41
from bzrlib.tests.test_sftp_transport import TestCaseWithSFTPServer
45
46
class TestPermissions(TestCaseWithTransport):
46
47
 
47
48
    def test_new_branch(self):
 
49
        if isinstance(self.branch_format, RemoteBranchFormat):
 
50
            # Remote branch format have no permission logic in them; there's
 
51
            # nothing to test here.
 
52
            return
48
53
        if sys.platform == 'win32':
49
54
            raise TestSkipped('chmod has no effect on win32')
50
55
        # also, these are BzrBranch format specific things..