Amend the unittest due to more on_exit being triggered

This commit is contained in:
Joshua Harlow 2014-12-11 14:48:25 -08:00
parent dd34f046d2
commit 931de8b0ca
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ class FSMTest(testcase.TestCase):
m.process_event('fall')
self.assertEqual([('down', 'beat'),
('up', 'jump'), ('down', 'fall')], enter_transitions)
self.assertEqual([('down', 'jump'), ('up', 'fall')], exit_transitions)
self.assertEqual([('start', 'beat'), ('down', 'jump'), ('up', 'fall')],
exit_transitions)
def test_run_iter(self):
up_downs = []