""" Unittest which failed, cause bugfixes not implemented, yet. """ import unittest from creole.html_tools.strip_html import strip_html from creole.tests.utils.base_unittest import BaseCreoleTest class StripHtml(unittest.TestCase): @unittest.expectedFailure def test_not_closed_image_tag(self): output = strip_html('
a image.
') self.assertEqual(output, 'a image.
') @unittest.expectedFailure def test_remove_linebreak(self): output = strip_html('foo\nBold and italics should be
able to cross
lines.
But, should not be...
...able to cross paragraphs.
""") @unittest.expectedFailure def test_escape_inline(self): """ TODO: different pre/code syntax? """ self.cross_compare_creole(r""" this is {{{**escaped** inline}}}, isn't it? {{{ a **code** block }}} """, """this is **escaped** inline, isn't it?
a **code** block""") class TestHtml2CreoleMarkup(BaseCreoleTest): @unittest.expectedFailure def test_format_in_a_text(self): """ TODO: http://code.google.com/p/python-creole/issues/detail?id=4 """ self.assert_html2creole(r""" **[[/url/|title]]** """, """ title """) @unittest.expectedFailure def test_newline_before_headline(self): """ TODO: http://code.google.com/p/python-creole/issues/detail?id=16#c5 """ self.assert_html2creole(r""" **foo** = one """, """ foo
#1
http://domain.tld/~bar/
http://domain.tld/
Link
[[Link]]
a and
a and
a and
a !