~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_move.py

  • Committer: Martin Pool
  • Date: 2011-06-14 01:26:41 UTC
  • mto: (6034.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 6043.
  • Revision ID: mbp@canonical.com-20110614012641-dnb69zb57ae5je4w
Move all test features into bzrlib.tests.features

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):
546
549
 
547
550
    def test_move_to_unversioned_non_ascii_dir(self):
548
551
        """Check error when moving to unversioned non-ascii directory"""
549
 
        self.requireFeature(tests.UnicodeFilename)
 
552
        self.requireFeature(features.UnicodeFilename)
550
553
        tree = self.make_branch_and_tree(".")
551
554
        self.build_tree(["a", u"\xA7/"])
552
555
        tree.add(["a"])
557
560
 
558
561
    def test_move_unversioned_non_ascii(self):
559
562
        """Check error when moving an unversioned non-ascii file"""
560
 
        self.requireFeature(tests.UnicodeFilename)
 
563
        self.requireFeature(features.UnicodeFilename)
561
564
        tree = self.make_branch_and_tree(".")
562
565
        self.build_tree([u"\xA7", "dir/"])
563
566
        tree.add("dir")