diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/richstring_test.py | 3 | ||||
-rw-r--r-- | tests/spmd_test.py | 1 |
2 files changed, 4 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): diff --git a/tests/spmd_test.py b/tests/spmd_test.py index 5df8395..d4e8c5d 100644 --- a/tests/spmd_test.py +++ b/tests/spmd_test.py @@ -2,6 +2,7 @@ import unittest2 from screenplain.parsers.spmd import parse from screenplain.types import Slug, Action, Dialog, DualDialog, Transition + class ParseTests(unittest2.TestCase): # A Scene Heading, or "slugline," is any line that has a blank |