Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/tutorius/tests/linear_creatortests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/tutorius/tests/linear_creatortests.py')
-rw-r--r--src/sugar/tutorius/tests/linear_creatortests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/tutorius/tests/linear_creatortests.py b/src/sugar/tutorius/tests/linear_creatortests.py
index f9ffbe7..dcded57 100644
--- a/src/sugar/tutorius/tests/linear_creatortests.py
+++ b/src/sugar/tutorius/tests/linear_creatortests.py
@@ -50,13 +50,13 @@ class CreatorTests(unittest.TestCase):
assert len(init_state.get_action_list()) == 2, "Creator did not insert all the actions"
- assert init_state.get_event_filter_list()[0].get_next_state() == "State1"
+ assert init_state.get_event_filter_list()[0].get_next_state() == "State 1" , "expected next state to be 'State 1' but got %s" % init_state.get_event_filter_list()[0].get_next_state()
- state1 = fsm.get_state_by_name("State1")
+ state1 = fsm.get_state_by_name("State 1")
assert len(state1.get_action_list()) == 1, "Creator did not insert all the actions"
- assert state1.get_event_filter_list()[0].get_next_state() == "State2"
+ assert state1.get_event_filter_list()[0].get_next_state() == "State 2"
# Make sure we have the final state and that it's empty
state2 = fsm.get_state_by_name("State2")