[Zope-Checkins] CVS: Zope/lib/python/StructuredText/tests - testStructuredText.py:1.7
Andreas Jung
andreas@zope.com
Tue, 16 Oct 2001 08:57:25 -0400
Update of /cvs-repository/Zope/lib/python/StructuredText/tests
In directory cvs.zope.org:/tmp/cvs-serv26085/tests
Modified Files:
testStructuredText.py
Log Message:
-minor corrections
-added new test
=== Zope/lib/python/StructuredText/tests/testStructuredText.py 1.6 => 1.7 ===
def testEmphasis(self):
- """underline"""
+ """ emphasis """
self._test("xx *this is html* xx","xx <em>this is html</em> xx")
def testStrong(self):
- """underline"""
+ """ strong """
self._test("xx **this is html** xx","xx <strong>this is html</strong> xx")
+ def testUnderlineThroughoutTags(self):
+ """Underlined text containing tags should not be transformed"""
+ self._test('<a href="index_html">index_html</a>', \
+ '<a href="index_html">index_html</a>')
+
+
+def test_suite():
+ return unittest.TestSuite( (
+ unittest.makeSuite(StructuredTextTests),
+ unittest.makeSuite(BasicTests)
+ ))
framework()