summaryrefslogtreecommitdiff
path: root/docutils/test
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-02 21:57:06 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-02 21:57:06 +0000
commit9d49a5e03d0df9b340e1f408e71eb2bc0875d4fd (patch)
tree42741e8c93bac450e13100c67de1e1b2682e7729 /docutils/test
parenta36adcdd5e8c1fed9895aba29e79c4e1e5faf17a (diff)
downloaddocutils-9d49a5e03d0df9b340e1f408e71eb2bc0875d4fd.tar.gz
removed nodes.Element.set_class() method;
directives.class_option now returns a *list* of classes; added test for :figclass: option of figure directive; the raw role's :format: option is now "unchanged", not "class_option"; some fixes: the :class: option should now always be propagated correctly from directives git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3155 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
-rwxr-xr-xdocutils/test/test_parsers/test_rst/test_directives/test_figures.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docutils/test/test_parsers/test_rst/test_directives/test_figures.py b/docutils/test/test_parsers/test_rst/test_directives/test_figures.py
index 355a06825..821841e07 100755
--- a/docutils/test/test_parsers/test_rst/test_directives/test_figures.py
+++ b/docutils/test/test_parsers/test_rst/test_directives/test_figures.py
@@ -94,12 +94,13 @@ totest['figures'] = [
:width: 200
:scale: 50
:figwidth: 300
+ :figclass: class1 class2
A picture with image options on individual lines, and this caption.
""",
"""\
<document source="test data">
- <figure width="300">
+ <figure classes="class1 class2" width="300">
<image alt="alternate text" height="100" scale="50" uri="picture.png" width="200">
<caption>
A picture with image options on individual lines, and this caption.