~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Daniel Watkins
  • Date: 2007-11-06 04:33:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2983.
  • Revision ID: d.m.watkins@warwick.ac.uk-20071106043338-3fnuxrahierktzq0
Modified tests to reflect modified error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
        self.build_tree(['a']) #touch a
273
273
        self.run_bzr_error(
274
274
            ["^bzr: ERROR: Could not rename a => b because both files exist."
275
 
             " \(Use --after to update the Bazaar id\)$"],
 
275
             " \(Use --after to tell bzr about a rename that has already"
 
276
             " happened\)$"],
276
277
            'mv a b')
277
278
        self.failUnlessExists('a')
278
279
        self.failUnlessExists('b')
320
321
        self.build_tree(['a2']) #touch a2
321
322
 
322
323
        self.run_bzr_error(
323
 
            ["^bzr: ERROR: Could not rename a1 => sub/a1 because both files exist."
324
 
             " \(Use --after to update the Bazaar id\)$"],
 
324
            ["^bzr: ERROR: Could not rename a1 => sub/a1 because both files"
 
325
             " exist. \(Use --after to tell bzr about a rename that has already"
 
326
             " happened\)$"],
325
327
            'mv a1 a2 sub')
326
328
        self.failUnlessExists('a1')
327
329
        self.failUnlessExists('a2')