~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to test/test_transforms/test_messages.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Author: David Goodger
4
4
# Contact: goodger@users.sourceforge.net
5
 
# Revision: $Revision: 1.6 $
6
 
# Date: $Date: 2002/10/24 01:01:45 $
 
5
# Revision: $Revision: 3129 $
 
6
# Date: $Date: 2005-03-26 17:21:28 +0100 (Sat, 26 Mar 2005) $
7
7
# Copyright: This module has been placed in the public domain.
8
8
 
9
9
"""
37
37
<document source="test data">
38
38
    <paragraph>
39
39
        This \n\
40
 
        <problematic id="id2" refid="id1">
 
40
        <problematic ids="id2" refid="id1">
41
41
            |unknown substitution|
42
42
         will generate a system message, thanks to
43
43
        the \n\
51
51
    <paragraph>
52
52
        (A second copy of the system message is tacked on to the end of the
53
53
        document by the test framework.)
54
 
    <section class="system-messages">
 
54
    <section classes="system-messages">
55
55
        <title>
56
56
            Docutils System Messages
57
 
        <system_message backrefs="id2" id="id1" level="3" line="1" source="test data" type="ERROR">
 
57
        <system_message backrefs="id2" ids="id1" level="3" line="1" source="test data" type="ERROR">
58
58
            <paragraph>
59
59
                Undefined substitution referenced: "unknown substitution".
60
60
"""],