~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2008-08-27 19:02:58 UTC
  • mto: (3650.5.4 push)
  • mto: This revision was merged to the branch mainline in revision 3661.
  • Revision ID: aaron@aaronbentley.com-20080827190258-0ge5u00jwusd6q5i
Update test to permit calling copy_content_into

Show diffs side-by-side

added added

removed removed

Lines of Context:
1175
1175
    def sprout(self, *args, **kwargs):
1176
1176
        self.calls.append('sprout')
1177
1177
 
 
1178
    def copy_content_into(self, destination, revision_id=None):
 
1179
        self.calls.append('copy_content_into')
 
1180
 
1178
1181
 
1179
1182
class TestBzrDirSprout(TestCaseWithMemoryTransport):
1180
1183
 
1204
1207
        result = source_bzrdir.sprout(target_url, recurse='no')
1205
1208
 
1206
1209
        # The bzrdir called the branch's sprout method.
1207
 
        self.assertEqual(['sprout'], source_bzrdir.test_branch.calls)
1208
 
        
 
1210
        self.assertSubset(['sprout'], source_bzrdir.test_branch.calls)