Mercurial > pyntnclick
diff gamelib/tests/game_logic_utils.py @ 355:bfb6c682b4fb
Updated walkthrough test as far as completed environmental puzzle.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 28 Aug 2010 16:34:35 +0200 |
parents | a1ffc919d0c1 |
children | 45f209fbec2e |
line wrap: on
line diff
--- a/gamelib/tests/game_logic_utils.py Sat Aug 28 16:30:43 2010 +0200 +++ b/gamelib/tests/game_logic_utils.py Sat Aug 28 16:34:35 2010 +0200 @@ -54,6 +54,9 @@ def assert_current_scene(self, scene): self.assertEquals(scene, self.state.current_scene.name) + def assert_current_detail(self, scene): + self.assertEquals(scene, self.state.current_detail.name) + def interact_thing(self, thing, item=None): item_obj = None if item is not None: