Logo Search packages:      
Sourcecode: hgsvn version File versions  Download package

def hgsvn::unittests::test_svnclient::TestSVNLog::test_parse_with_invalid_xml (   self  ) 

Parsing an SVN log entry with invalid XML characters.

Definition at line 163 of file test_svnclient.py.

00163                                          :
        """
        Parsing an SVN log entry with invalid XML characters.
        """
        entries = svnclient.parse_svn_log_xml(svn_log_xml_with_invalid_chars)
        eq_(len(entries), 1)
        msg = entries[0]['message']
        assert msg.startswith('fixed some plugin bugs===+=')
        assert msg.strip().endswith('---')


svn_status_xml = """<?xml version="1.0"?>


Generated by  Doxygen 1.6.0   Back to index