summaryrefslogtreecommitdiff
path: root/docutils/test/test_writers/test_pseudoxml.py
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-09 20:44:25 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-09 20:44:25 +0000
commitd77fdfef70e08114f57cbef5d91707df8717ea9f (patch)
tree49444e3486c0c333cb7b33dfa721296c08ee4ece /docutils/test/test_writers/test_pseudoxml.py
parent53cd16ca6ca5f638cbe5956988e88f9339e355cf (diff)
parent3993c4097756e9885bcfbd07cb1cc1e4e95e50e4 (diff)
downloaddocutils-0.4.tar.gz
Release 0.4: tagging released revisiondocutils-0.4
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.4@4268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_writers/test_pseudoxml.py')
-rwxr-xr-xdocutils/test/test_writers/test_pseudoxml.py54
1 files changed, 0 insertions, 54 deletions
diff --git a/docutils/test/test_writers/test_pseudoxml.py b/docutils/test/test_writers/test_pseudoxml.py
deleted file mode 100755
index db8bed7cb..000000000
--- a/docutils/test/test_writers/test_pseudoxml.py
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env python
-
-# Author: Felix Wiemann
-# Contact: Felix_Wiemann@ososo.de
-# Revision: $Revision$
-# Date: $Date$
-# Copyright: This module has been placed in the public domain.
-
-"""
-Test for pseudo-XML writer.
-"""
-
-from __init__ import DocutilsTestSupport
-
-def suite():
- s = DocutilsTestSupport.PublishTestSuite('pseudoxml')
- s.generateTests(totest)
- return s
-
-totest = {}
-
-totest['basic'] = [
-# input
-["""\
-This is a paragraph.
-
-----------
-
-This is another paragraph.
-
-A Section
----------
-
-Foo.
-""",
-# output
-"""\
-<document source="<string>">
- <paragraph>
- This is a paragraph.
- <transition>
- <paragraph>
- This is another paragraph.
- <section ids="a-section" names="a\ section">
- <title>
- A Section
- <paragraph>
- Foo.
-"""]
-]
-
-if __name__ == '__main__':
- import unittest
- unittest.main(defaultTest='suite')