~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remove.py

  • Committer: Robert Collins
  • Date: 2005-12-24 02:20:45 UTC
  • mto: (1185.50.57 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: robertc@robertcollins.net-20051224022045-14efc8dfa0e1a4e9
Start tests for api usage.

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)