summaryrefslogtreecommitdiff
path: root/docutils/test/test_writers/test_pseudoxml.py
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/test/test_writers/test_pseudoxml.py')
-rwxr-xr-xdocutils/test/test_writers/test_pseudoxml.py59
1 files changed, 0 insertions, 59 deletions
diff --git a/docutils/test/test_writers/test_pseudoxml.py b/docutils/test/test_writers/test_pseudoxml.py
deleted file mode 100755
index 66bfef480..000000000
--- a/docutils/test/test_writers/test_pseudoxml.py
+++ /dev/null
@@ -1,59 +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 the title
-=================
-
-This is a paragraph.
-
-----------
-
-This is another paragraph.
-
-A subsection
-------------
-
-Foo.
-""",
-# output
-"""\
-<document ids="this-is-the-title" names="this is the title" source="<string>">
- <title>
- This is the title
- <paragraph>
- This is a paragraph.
- <transition>
- <paragraph>
- This is another paragraph.
- <section ids="a-subsection" names="a subsection">
- <title>
- A subsection
- <paragraph>
- Foo.
-"""]
-]
-
-if __name__ == '__main__':
- import unittest
- unittest.main(defaultTest='suite')