~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-05 15:31:34 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090505153134-q4bp4is9gywsmzrv
Clean up test for log formats.

* bzrlib/tests/blackbox/test_logformats.py:
Update tests to actual style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    ElementTree,
20
20
    SubElement,
21
21
    XMLSerializer,
22
 
    escape_invalid_chars,
23
22
    )
24
23
from bzrlib.inventory import ROOT_ID, Inventory, InventoryEntry
25
24
import bzrlib.inventory as inventory
126
125
        root.text = '\n'
127
126
 
128
127
        msg = SubElement(root, 'message')
129
 
        msg.text = escape_invalid_chars(rev.message)[0]
 
128
        msg.text = rev.message
130
129
        msg.tail = '\n'
131
130
 
132
131
        if rev.parents: