diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-08-17 13:59:12 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-08-17 13:59:12 +0000 |
| commit | a4bc0d09f3d1f633a5780976d1f913e083c9564a (patch) | |
| tree | 1777475e88463b08438f0719be97cc087554eadd /docutils/test/test_writers/test_pseudoxml.py | |
| parent | 60c69f8cf97125135948a3d35b7698ee80921137 (diff) | |
| parent | 2818db9a234cc37008c5f2bb0e821f9b1fa92de2 (diff) | |
| download | docutils-0.3.9.tar.gz | |
re-added docutils-0.3.9 tag one level deeper (without web/ and sandboxes/)docutils-0.3.9
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.3.9@3815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_writers/test_pseudoxml.py')
| -rwxr-xr-x | docutils/test/test_writers/test_pseudoxml.py | 59 |
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') |
