~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_move.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:
25
25
    )
26
26
 
27
27
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
 
28
from bzrlib.tests import (
 
29
    features,
 
30
    )
28
31
 
29
32
 
30
33
class TestMove(TestCaseWithWorkingTree):
555
558
 
556
559
    def test_move_to_unversioned_non_ascii_dir(self):
557
560
        """Check error when moving to unversioned non-ascii directory"""
558
 
        self.requireFeature(tests.UnicodeFilename)
 
561
        self.requireFeature(features.UnicodeFilenameFeature)
559
562
        tree = self.make_branch_and_tree(".")
560
563
        self.build_tree(["a", u"\xA7/"])
561
564
        tree.add(["a"])
566
569
 
567
570
    def test_move_unversioned_non_ascii(self):
568
571
        """Check error when moving an unversioned non-ascii file"""
569
 
        self.requireFeature(tests.UnicodeFilename)
 
572
        self.requireFeature(features.UnicodeFilenameFeature)
570
573
        tree = self.make_branch_and_tree(".")
571
574
        self.build_tree([u"\xA7", "dir/"])
572
575
        tree.add("dir")