~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_read_bundle.py

  • Committer: John Arbash Meinel
  • Date: 2006-06-26 16:31:49 UTC
  • mfrom: (1813 +trunk)
  • mto: (1711.7.2 win32)
  • mto: This revision was merged to the branch mainline in revision 1822.
  • Revision ID: john@arbash-meinel.com-20060626163149-2213f2f2d895829d
[merge] bzr.dev 1813

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        if wt is None:
98
98
            return
99
99
 
100
 
        reader = bzrlib.bundle.read_bundle_from_url(
 
100
        info = bzrlib.bundle.read_bundle_from_url(
101
101
                    self.get_url('test_bundle'))
102
 
        info, bundle_tree = reader.get_bundle(wt.branch.repository)
 
102
        bundle_tree = info.revision_tree(wt.branch.repository, info.target)
103
103
        self.assertEqual('commit-1', bundle_tree.revision_id)
104
104
 
105
105
    def test_read_fail(self):