summaryrefslogtreecommitdiff
path: root/docutils/test/DocutilsTestSupport.py
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-24 23:21:48 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-24 23:21:48 +0000
commit5a80e0c19491457eecc9df7bb2a39206d40742ed (patch)
tree487cadd8bd23cb141c59175a8b17b27d3bf54ae6 /docutils/test/DocutilsTestSupport.py
parent093a4cd1a771a52272539329bdc669cd0ec9349d (diff)
downloaddocutils-5a80e0c19491457eecc9df7bb2a39206d40742ed.tar.gz
Added ``html_body``, ``html_title``, & ``html_subtitle`` to HTML writer parts dictionary exposed by ``docutils.core.publish_parts``; updated tests. Added "``publish_parts`` Details" section to docs/api/publish.txt.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3251 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/DocutilsTestSupport.py')
-rw-r--r--docutils/test/DocutilsTestSupport.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py
index 9c09792ae..40ac89c4f 100644
--- a/docutils/test/DocutilsTestSupport.py
+++ b/docutils/test/DocutilsTestSupport.py
@@ -742,6 +742,7 @@ class HtmlWriterPublishPartsTestCase(WriterPublishTestCase):
"""Minimize & standardize the output."""
# remove redundant bits:
del parts['whole']
+ assert parts['body'] == parts['fragment']
del parts['body']
# remove standard bits:
parts['meta'] = parts['meta'].replace(self.standard_meta_value, '')