aboutsummaryrefslogtreecommitdiffstats
path: root/tests/richstring_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/richstring_test.py')
-rw-r--r--tests/richstring_test.py3
1 files changed, 3 insertions, 0 deletions
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'),