comparison gamelib/tests/test_walkthrough.py @ 456:a51565a59df3

Version update and mac icons.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 29 Aug 2010 01:07:57 +0200
parents fdf3a6dd476b
children 49b6a3d31ee7
comparison
equal deleted inserted replaced
455:2316e590f5e2 456:a51565a59df3
8 def move_to(self, target): 8 def move_to(self, target):
9 self.interact_thing(self.state.current_scene.name + '.door') 9 self.interact_thing(self.state.current_scene.name + '.door')
10 self.assert_current_scene('map') 10 self.assert_current_scene('map')
11 self.interact_thing('map.to' + target) 11 self.interact_thing('map.to' + target)
12 self.assert_current_scene(target) 12 self.assert_current_scene(target)
13
14 # def test_walkthrough_complete(self):
15 # self.fail("Walkthrough incomplete.")
16 13
17 def test_walkthrough(self): 14 def test_walkthrough(self):
18 """A complete game walkthrough. 15 """A complete game walkthrough.
19 16
20 This should only contain interacts and assertions.""" 17 This should only contain interacts and assertions."""