From d09d1b2c57a2a8900c33b78840600b7cc1ca40a8 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Mon, 26 Sep 2011 22:41:12 +0200 Subject: Use rich strings for all content. --- tests/richstring_test.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/richstring_test.py') diff --git a/tests/richstring_test.py b/tests/richstring_test.py index 258cdb1..b442f90 100644 --- a/tests/richstring_test.py +++ b/tests/richstring_test.py @@ -32,6 +32,9 @@ class RichStringOperatorTests(unittest2.TestCase): class RichStringTests(unittest2.TestCase): + def test_plain_to_html(self): + self.assertEquals('hello', RichString('hello').to_html()) + def test_to_html(self): s = RichString( Bold('bold'), -- cgit v1.2.3