~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

  • Committer: Patch Queue Manager
  • Date: 2012-02-27 15:20:55 UTC
  • mfrom: (6476.1.1 dev_2.5_integration)
  • Revision ID: pqm@pqm.ubuntu.com-20120227152055-sw2fya70kpfk3h4y
(gz) Merge 2.5 for fixes to texinfo doc script and btree tests (Martin
 Packman)

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()