3
# Author: David Goodger
4
# Contact: goodger@python.org
5
# Revision: $Revision: 4162 $
6
# Date: $Date: 2005-12-08 18:28:40 +0100 (Thu, 08 Dec 2005) $
7
# Copyright: This module has been placed in the public domain.
10
Tests for the 'container' directive from body.py.
13
from __init__ import DocutilsTestSupport
16
s = DocutilsTestSupport.ParserTestSuite()
17
s.generateTests(totest)
22
totest['container'] = [
26
"container" is a generic element, an extension mechanism for
29
Containers may contain arbitrary body elements.
32
<document source="test data">
35
"container" is a generic element, an extension mechanism for
38
Containers may contain arbitrary body elements.
46
<document source="test data">
47
<container classes="custom">
52
.. container:: one two three
59
Multiple paragraphs in the container.
62
<document source="test data">
63
<container classes="one two three four">
69
Multiple paragraphs in the container.
74
if __name__ == '__main__':
76
unittest.main(defaultTest='suite')