~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-09-08 06:59:26 UTC
  • mfrom: (4678.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090908065926-at5dgy2j2spzl8u5
(vila) More test fixes for FreeBSD passing the full test suite

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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
 
 
498
490
    def test_mv_readonly_lightweight_checkout(self):
499
491
        branch = self.make_branch('foo')
500
 
        branch = bzrlib.branch.Branch.open(self.get_readonly_url('foo'))
 
492
        branch = bzrlib.branch.Branch.open('readonly+' + branch.base)
501
493
        tree = branch.create_checkout('tree', lightweight=True)
502
494
        self.build_tree(['tree/path'])
503
495
        tree.add('path')