~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_permissions.py

  • Committer: Patch Queue Manager
  • Date: 2011-12-15 12:43:54 UTC
  • mfrom: (6374.2.2 fix_news_2.5b5)
  • Revision ID: pqm@pqm.ubuntu.com-20111215124354-r79d90ukkqzpfeyf
(gz) Add missing release notes for previously landed branches (Martin
 Packman)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
import os
34
34
import sys
 
35
import urllib
35
36
 
36
 
from bzrlib import urlutils
 
37
from bzrlib import transport
37
38
from bzrlib.branch import Branch
38
39
from bzrlib.bzrdir import BzrDir
39
40
from bzrlib.tests import TestCaseWithTransport, TestSkipped
67
68
        test.assertTransportMode(t, base, dir_mode)
68
69
    for root, dirs, files in os.walk(base):
69
70
        for d in dirs:
70
 
            p = '/'.join([urlutils.quote(x) for x in root.split('/\\') + [d]])
 
71
            p = '/'.join([urllib.quote(x) for x in root.split('/\\') + [d]])
71
72
            test.assertTransportMode(t, p, dir_mode)
72
73
        for f in files:
73
74
            p = os.path.join(root, f)
74
 
            p = '/'.join([urlutils.quote(x) for x in root.split('/\\') + [f]])
 
75
            p = '/'.join([urllib.quote(x) for x in root.split('/\\') + [f]])
75
76
            test.assertTransportMode(t, p, file_mode)
76
77
 
77
78