~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_mv.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-07 04:51:19 UTC
  • mfrom: (5641.2.1 bzr-dev-overview-tweaks)
  • Revision ID: pqm@pqm.ubuntu.com-20110207045119-fn3s8bol0zscqr1p
(spiv) Expand doc/developers/overview.txt a little,
 and fix some formatting nits. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    CaseInsensitiveFilesystemFeature,
29
29
    SymlinkFeature,
30
30
    TestCaseWithTransport,
 
31
    UnicodeFilename,
31
32
    )
32
33
 
33
34
 
504
505
        # If this fails, the tree is trying to acquire a branch lock, which it
505
506
        # shouldn't.
506
507
        self.run_bzr(['mv', 'tree/path', 'tree/path2'])
 
508
 
 
509
    def test_mv_unversioned_non_ascii(self):
 
510
        """Clear error on mv of an unversioned non-ascii file, see lp:707954"""
 
511
        self.requireFeature(UnicodeFilename)
 
512
        tree = self.make_branch_and_tree(".")
 
513
        self.build_tree([u"\xA7"])
 
514
        out, err = self.run_bzr_error(["Could not rename", "not versioned"],
 
515
            ["mv", u"\xA7", "b"])