diff options
author | Martin Vilcans <martin@librador.com> | 2012-02-19 22:42:29 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2012-02-19 22:42:29 +0100 |
commit | 84d6de1f11cee777e9d256b1e170794b58c3c08c (patch) | |
tree | a692abf77da2ab7f672626c8aa98b8233ecd8ba8 /tests/fountain_test.py | |
parent | d16fe5395253c19e554efc332a3f038eac0ab2e8 (diff) | |
download | screenplain-84d6de1f11cee777e9d256b1e170794b58c3c08c.tar.gz |
Transition must end with "TO:", not just ":"
New in Fountain spec.
Diffstat (limited to 'tests/fountain_test.py')
-rw-r--r-- | tests/fountain_test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fountain_test.py b/tests/fountain_test.py index 99578cf..11a0939 100644 --- a/tests/fountain_test.py +++ b/tests/fountain_test.py @@ -217,6 +217,14 @@ class TransitionTests(unittest2.TestCase): ])) self.assertEquals([Action, Transition, Slug], [type(p) for p in paras]) + def test_transition_must_end_with_to(self): + paras = list(parse([ + 'CUT TOO:', + '', + "EXT. BRICK'S POOL - DAY", + ])) + self.assertEquals([Action, Slug], [type(p) for p in paras]) + def test_transition_needs_to_be_upper_case(self): paras = list(parse([ 'Jack begins to argue vociferously in Vietnamese (?)', |