~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_tree/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-25 03:36:18 UTC
  • mfrom: (6034.2.4 test-feature-cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20110725033618-n5g9qg6iwyz2dqzw
(mbp) move test feature dependencies into test.features (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    )
38
38
from bzrlib.revisiontree import RevisionTree
39
39
from bzrlib.transform import TransformPreview
 
40
from bzrlib.tests import (
 
41
    features,
 
42
    )
40
43
from bzrlib.workingtree import (
41
44
    format_registry,
42
45
    )
242
245
        note that the order of the paths and fileids is deliberately
243
246
        mismatched to ensure that the result order is path based.
244
247
        """
245
 
        self.requireFeature(tests.UnicodeFilenameFeature)
 
248
        self.requireFeature(features.UnicodeFilenameFeature)
246
249
        tree = self.make_branch_and_tree('.')
247
250
        paths = ['0file',
248
251
            '1top-dir/',
274
277
 
275
278
    def _create_tree_with_utf8(self, tree):
276
279
        """Generate a tree with a utf8 revision and unicode paths."""
277
 
        self.requireFeature(tests.UnicodeFilenameFeature)
 
280
        self.requireFeature(features.UnicodeFilenameFeature)
278
281
        # We avoid combining characters in file names here, normalization
279
282
        # checks (as performed by some file systems (OSX) are outside the scope
280
283
        # of these tests).  We use the euro sign \N{Euro Sign} or \u20ac in