comparison gamelib/tests/test_walkthrough.py @ 729:7d777c9a1af1 pyntnclick

Remove the last suspended-sentence-specific bits from GameLogicTestCase
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 15 Jan 2013 22:55:08 +0200
parents db0762f1de5a
children eca4d2fc11a4
comparison
equal deleted inserted replaced
728:db0762f1de5a 729:7d777c9a1af1
1 import gamelib.main
1 import game_logic_utils 2 import game_logic_utils
2 3
3 4
4 class TestWalkthrough(game_logic_utils.GameLogicTestCase): 5 class TestWalkthrough(game_logic_utils.GameLogicTestCase):
5 6
7 GAME_DESCRIPTION_CLASS = gamelib.main.SuspendedSentence
6 CURRENT_SCENE = 'cryo' 8 CURRENT_SCENE = 'cryo'
7 9
8 def move_to(self, target): 10 def move_to(self, target):
9 self.interact_thing(self.state.current_scene.name + '.door') 11 self.interact_thing(self.state.current_scene.name + '.door')
10 self.assert_current_scene('map') 12 self.assert_current_scene('map')