~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: 2009-11-30 22:04:45 UTC
  • mfrom: (4789.28.4 2.1.0b4-builder-no-keys)
  • Revision ID: pqm@pqm.ubuntu.com-20091130220445-vbfmmgocbgcs195q
(jam) Update BTreeBuilder to remove ._keys and use StaticTuple

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
        self.assertEqual('bzr: ERROR: --after cannot be specified with'
488
488
                         ' --auto.\n', err)
489
489
 
 
490
    def test_mv_quiet(self):
 
491
        tree = self.make_branch_and_tree('.')
 
492
        self.build_tree(['aaa'])
 
493
        tree.add(['aaa'])
 
494
        out, err = self.run_bzr('mv --quiet aaa bbb')
 
495
        self.assertEqual(out, '')
 
496
        self.assertEqual(err, '')
 
497
 
490
498
    def test_mv_readonly_lightweight_checkout(self):
491
499
        branch = self.make_branch('foo')
492
 
        branch = bzrlib.branch.Branch.open('readonly+' + branch.base)
 
500
        branch = bzrlib.branch.Branch.open(self.get_readonly_url('foo'))
493
501
        tree = branch.create_checkout('tree', lightweight=True)
494
502
        self.build_tree(['tree/path'])
495
503
        tree.add('path')