/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/test_xml.py

  • Committer: Martin Pool
  • Date: 2007-10-10 00:21:57 UTC
  • mfrom: (2900 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2901.
  • Revision ID: mbp@sourcefrog.net-20071010002157-utci0x44m2w47wgd
merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
class TestSerializer(TestCase):
180
180
    """Test XML serialization"""
 
181
 
181
182
    def test_canned_inventory(self):
182
183
        """Test unpacked a canned inventory v4 file."""
183
184
        inp = StringIO(_working_inventory_v4)
388
389
        fid_bar1 = u'b\xe5r-01'.encode('utf8')
389
390
        fid_sub = u's\xb5bdir-01'.encode('utf8')
390
391
        fid_bar2 = u'b\xe5r-02'.encode('utf8')
391
 
        expected = [(u'', fid_root, None, None),
 
392
        expected = [(u'', fid_root, None, rev_id_2),
392
393
                    (u'b\xe5r', fid_bar1, fid_root, rev_id_1),
393
394
                    (u's\xb5bdir', fid_sub, fid_root, rev_id_1),
394
395
                    (u's\xb5bdir/b\xe5r', fid_bar2, fid_sub, rev_id_2),