aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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
parent8372179a6d8426896737d6c37a5568fdea5dce5f (diff)
downloadscreenplain-9e0b5647062faf4ea7a4f52dd143f284e8b2a954.tar.gz
PEP8 compliance.
Diffstat (limited to 'tests')
-rw-r--r--tests/richstring_test.py3
-rw-r--r--tests/spmd_test.py1
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