aboutsummaryrefslogtreecommitdiffstats
path: root/tests/richstring_test.py
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2011-09-21 23:57:54 +0200
committerMartin Vilcans <martin@librador.com>2011-09-21 23:57:54 +0200
commit9e0b5647062faf4ea7a4f52dd143f284e8b2a954 (patch)
tree346dff62cef597dcd03c8023aaa3507bbb922659 /tests/richstring_test.py
parent8372179a6d8426896737d6c37a5568fdea5dce5f (diff)
downloadscreenplain-9e0b5647062faf4ea7a4f52dd143f284e8b2a954.tar.gz
PEP8 compliance.
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 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):