diff options
author | Martin Vilcans <martin@librador.com> | 2011-09-26 22:41:12 +0200 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2011-09-26 22:41:12 +0200 |
commit | d09d1b2c57a2a8900c33b78840600b7cc1ca40a8 (patch) | |
tree | 8cad879d671e050f8a3ba21eb572b30dfdf9290f /tests/richstring_test.py | |
parent | 9e0b5647062faf4ea7a4f52dd143f284e8b2a954 (diff) | |
download | screenplain-d09d1b2c57a2a8900c33b78840600b7cc1ca40a8.tar.gz |
Use rich strings for all content.
Diffstat (limited to 'tests/richstring_test.py')
-rw-r--r-- | tests/richstring_test.py | 3 |
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'), |