~ubuntu-branches/ubuntu/dapper/python-docutils/dapper

« back to all changes in this revision

Viewing changes to test/test_transforms/test_class.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-12-13 13:47:41 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213134741-fhuh5tq3n346q1oj
Tags: 0.3.9-0.1ubuntu1
Synchronize with Debian unstable.

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.5 $
6
 
# Date: $Date: 2004/10/24 15:21:31 $
 
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
"""
30
30
""",
31
31
"""\
32
32
<document source="test data">
33
 
    <paragraph class="one">
 
33
    <paragraph classes="one">
34
34
        paragraph
35
35
"""],
36
36
["""\
42
42
"""\
43
43
<document source="test data">
44
44
    <comment xml:space="preserve">
45
 
    <block_quote class="two">
 
45
    <block_quote classes="two">
46
46
        <paragraph>
47
47
            Block quote
48
48
"""],
58
58
    <block_quote>
59
59
        <paragraph>
60
60
            Block quote
61
 
    <paragraph class="three">
 
61
    <paragraph classes="three">
62
62
        Paragraph
63
63
"""],
64
64
["""\
71
71
""",
72
72
"""\
73
73
<document source="test data">
74
 
    <section class="four" id="section-title" name="section title">
 
74
    <section classes="four" ids="section-title" names="section title">
75
75
        <title>
76
76
            Section Title
77
77
        <paragraph>
104
104
""",
105
105
"""\
106
106
<document source="test data">
107
 
    <paragraph class="one two">
 
107
    <paragraph classes="one two">
108
108
        multiple class values may be assigned to one element
109
109
"""],
110
110
["""\
114
114
""",
115
115
"""\
116
116
<document source="test data">
117
 
    <paragraph class="one two">
 
117
    <paragraph classes="one two">
118
118
        multiple class values may be assigned to one element
119
119
"""],
120
120
["""\
125
125
""",
126
126
"""\
127
127
<document source="test data">
128
 
    <enumerated_list class="fancy" enumtype="arabic" prefix="" start="2" suffix=".">
 
128
    <enumerated_list classes="fancy" enumtype="arabic" prefix="" start="2" suffix=".">
129
129
        <list_item>
130
130
            <paragraph>
131
131
                List starts at 2.
156
156
    <system_message level="1" line="1" source="test data" type="INFO">
157
157
        <paragraph>
158
158
            Enumerated list start value not ordinal-1: "2" (ordinal 2)
159
 
    <paragraph class="fancy">
 
159
    <paragraph classes="fancy">
160
160
        A paragraph.
161
161
"""],
162
162
])