[Zope-Checkins] CVS: Zope/lib/python/reStructuredText/tests - __init__.py: testReST.py:

Stefan H. Holek stefan at epy.co.at
Thu Jan 13 16:28:25 EST 2005

Update of /cvs-repository/Zope/lib/python/reStructuredText/tests
In directory cvs.zope.org:/tmp/cvs-serv18310

Added Files:
      Tag: Zope-2_7-branch
	__init__.py testReST.py 
Log Message:
Added a test that makes sure the rst parser can be imported, i.e.
that the dreaded roman.py module is present.

=== Added File Zope/lib/python/reStructuredText/tests/__init__.py ===
"""reST tests package."""

=== Added File Zope/lib/python/reStructuredText/tests/testReST.py ===

import unittest

class TestReST(unittest.TestCase):

    def testRoman(self):
        # Make sure we can import the rst parser
        from docutils.parsers import rst

def test_suite():
    from unittest import TestSuite, makeSuite
    return TestSuite((makeSuite(TestReST),))

More information about the Zope-Checkins mailing list