/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/interrepository_implementations/test_fetch.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-01 00:49:06 UTC
  • mto: (4476.3.44 inventory-delta)
  • mto: This revision was merged to the branch mainline in revision 4608.
  • Revision ID: andrew.bennetts@canonical.com-20090701004906-r2k4pr3gnlrfltek
Network serialisation, and most tests passing with InterDifferingSerializer commented out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
        to_repo = self.make_to_repository('to')
277
277
        to_repo.fetch(from_tree.branch.repository)
278
278
        recorded_inv_sha1 = to_repo.get_inventory_sha1('foo-id')
279
 
        xml = to_repo.get_inventory_xml('foo-id')
 
279
        try:
 
280
            xml = to_repo.get_inventory_xml('foo-id')
 
281
        except NotImplementedError:
 
282
            raise TestNotApplicable('repo does not provide get_inventory_xml')
280
283
        computed_inv_sha1 = osutils.sha_string(xml)
281
284
        self.assertEqual(computed_inv_sha1, recorded_inv_sha1)
282
285