Commit 7ee3ae77 authored by Andreas Jung's avatar Andreas Jung

-minor corrections

-added new test
parent 793a9995
......@@ -212,12 +212,23 @@ class BasicTests(unittest.TestCase):
self._test("xx _this is html_ xx","xx <u>this is html</u> xx")
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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment