~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remove.py

  • Committer: John Arbash Meinel
  • Date: 2007-11-13 20:37:09 UTC
  • mto: This revision was merged to the branch mainline in revision 3001.
  • Revision ID: john@arbash-meinel.com-20071113203709-kysdte0emqv84pnj
Fix bug #162486, by having RemoteBranch properly initialize self._revision_id_to_revno_map.

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)