summaryrefslogtreecommitdiff
path: root/docutils/test/DocutilsTestSupport.py
Commit message (Collapse)AuthorAgeFilesLines
* moved comparison methods up to StandardTestCasewiemann2005-07-061-23/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3662 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* revert docutils.writers.null.Writer.output to None, now with ↵goodger2005-07-021-7/+13
| | | | | | docutils.io.Output and test support git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3646 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``_stylesheet_required`` internal setting, ↵goodger2005-06-281-0/+1
| | | | | | docutils.transforms.html.StylesheetCheck transform, docs, tests, and support. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3617 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed docutils.frontend._globally_deactivate_config_files (reverting much ↵goodger2005-06-231-5/+2
| | | | | | of rev. 3511), since it duplicates settings._disable_config functionality git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3567 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* issue a warning rather than an error when no stylesheet is given;wiemann2005-06-211-1/+1
| | | | | | default for "stylesheet" is now None, not -1 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3549 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* ensure that always a stylesheet path/URL is given;wiemann2005-06-201-0/+4
| | | | | | | I've seen to many poor-looking documents on the web due to the missing stylesheet -- people seem to miss that quite frequently git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3543 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed errorwiemann2005-06-191-5/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3517 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simplified test codewiemann2005-06-191-22/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3516 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added deactivation of config file reading (for easier testing)wiemann2005-06-191-12/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3511 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed encoding/charset values in "html_prolog" & "html_head" parts, which ↵goodger2005-04-271-8/+13
| | | | | | should not have been interpolated git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``html_prolog`` & ``html_head`` to HTML writer parts dictionary ↵goodger2005-04-261-2/+11
| | | | | | exposed by ``docutils.core.publish_parts``; updated tests & docs. At the request of Marcelo Huerta. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3257 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``html_body``, ``html_title``, & ``html_subtitle`` to HTML writer ↵goodger2005-04-241-0/+1
| | | | | | 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
* fixed typogoodger2005-04-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3249 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* ensure we are in the correct directory;wiemann2005-03-231-0/+3
| | | | | | the working directory is changed during execution of the test suite! git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3098 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed ParserTransformTestCase (it was mixing testing modes)goodger2004-11-011-25/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2791 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed TransitionTestCase to ParserTransformTestCase;wiemann2004-10-301-4/+9
| | | | | | | also run default transforms git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2779 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added TransitionTestCase, which applies transformswiemann2004-10-301-0/+21
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2773 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* minor output formatting improvement for failed testswiemann2004-10-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2765 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set --strict-visitor for writer testsgoodger2004-10-201-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2729 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* backward compatibility fixfdrake2004-10-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2702 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added DocutilsTestSupport.testrootwiemann2004-10-011-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2683 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added close() method for DevNullwiemann2004-09-291-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2669 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed floating point comparison methodswiemann2004-09-131-35/+4
| | | | | | | If we need them, they're in the history now. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2605 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added functions for proper multi-line string outputwiemann2004-09-131-4/+102
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2604 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed unused code; updated docstringgoodger2004-09-131-15/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2602 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added some comments, did some cleanup; David Goodger, could you review this?wiemann2004-08-291-29/+34
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2549 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reordering so that TestCases appear before TestSuiteswiemann2004-08-291-103/+103
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2547 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simple import isn't enough -- added another requirement (testing for 2.2 was ↵goodger2004-07-251-0/+2
| | | | | | easier!) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2452 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Replace version number sniffing with specific features sniffing.cben2004-07-251-2/+2
| | | | | | | | | | | | Also fix 2 bugs in `report_UnicodeError`: * Print the current encoding (was a ``%s``). * Don't crash before Python 2.3 where `UnicodeError` objects had no ``object`` or ``encoding`` attributes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2450 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed difflib to docutils_difflibwiemann2004-06-221-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2354 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2004-06-161-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2288 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* further minimizationgoodger2004-05-091-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2057 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for publish_parts interface for HTMLgoodger2004-05-091-33/+60
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2055 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added one-time notice of skipped testsgoodger2004-05-081-8/+14
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2050 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Python version checkinggoodger2004-05-071-8/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2048 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Py2.1 compatibilitygoodger2004-05-071-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2044 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* whitespacegoodger2004-05-071-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2043 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* unused import removedgoodger2004-05-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2039 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed documentation.wiemann2004-04-301-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2017 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added pseudo-XML test.wiemann2004-04-271-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added support for custom interpreted text rolesgoodger2004-04-171-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1958 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added funtionality to keep track of individual parts of a document and storereggie2004-03-231-1/+53
| | | | | | | | them in a dictionary as the "parts" attribute of the writer. Added publish_parts convenience function to allow easy access to these parts. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1879 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* * Bug fixes to python readerianbicking2004-03-231-1/+1
| | | | | | | | * Getting tests up-to-date * Trimming unused nodes from pynodes git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1876 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Updatedmmgilbe2004-03-221-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored publisher test suite/case class names to make testing other ↵orutherfurd2004-03-211-10/+28
| | | | | | writers easier git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1850 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* provide more exception datagoodger2003-08-061-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1622 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added ``StringList`` support for table testsgoodger2003-07-051-3/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1571 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Disabled config files when testing.goodger2003-06-031-7/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add LatexPublishTest classes.grubert2003-03-031-0/+41
| | | | | | | Add writer latex writer test. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1211 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* improved test skipping supportgoodger2003-01-041-25/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1062 929543f6-e4f2-0310-98a6-ba3bd3dd1d04