~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remove.py

  • Committer: Martin Pool
  • Date: 2006-01-13 08:12:22 UTC
  • mfrom: (1185.63.5 bzr.patches)
  • Revision ID: mbp@sourcefrog.net-20060113081222-6b572004a2ade0cc
[merge] test_hashcache_raise from Denys

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from bzrlib.tests import TestCaseInTempDir
 
2
from bzrlib.branch import Branch
 
3
 
 
4
class TestRemove(TestCaseInTempDir):
 
5
    def test_remove_verbose(self):
 
6
        b = Branch.initialize(u'.')
 
7
        self.build_tree(['hello'])
 
8
        wt = b.working_tree() 
 
9
        wt.add(['hello'])
 
10
        wt.commit(message='add hello')
 
11
        eq = self.assertEquals
 
12
        wt.remove(['hello'], verbose=True)