diff options
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 bd7ea22..258cdb1 100644 --- a/tests/richstring_test.py +++ b/tests/richstring_test.py @@ -3,6 +3,7 @@ from screenplain.richstring import RichString, Bold, Italic, Underline from screenplain.richstring import parse_emphasis from screenplain.types import Slug, Action, Dialog, DualDialog, Transition + class RichStringOperatorTests(unittest2.TestCase): def test_repr(self): @@ -28,6 +29,7 @@ class RichStringOperatorTests(unittest2.TestCase): def test_ne(self): self.assertFalse(Bold('Hello') != Bold('Hello')) + class RichStringTests(unittest2.TestCase): def test_to_html(self): @@ -42,6 +44,7 @@ class RichStringTests(unittest2.TestCase): s.to_html() ) + class ParseEmphasisTests(unittest2.TestCase): def test_parse_without_emphasis(self): |