~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
414
414
        self.assertEqual('tree-root-321', inv2['nested-id'].parent_id)
415
415
        self.assertEqual('rev-outer', inv2['nested-id'].revision)
416
416
        self.assertEqual('rev-inner', inv2['nested-id'].reference_revision)
417
 
        self.assertRaises(errors.UnsupportedInventoryKind,
418
 
                          s_v6.read_inventory_from_string,
419
 
                          txt.replace('format="7"', 'format="6"'))
420
 
        self.assertRaises(errors.UnsupportedInventoryKind,
421
 
                          s_v5.read_inventory_from_string,
422
 
                          txt.replace('format="7"', 'format="5"'))
423
417
 
424
418
    def test_roundtrip_inventory_v8(self):
425
419
        inv = self.get_sample_inventory()