changeset 725:65e9b5c40233 pyntnclick

Detail handling in test_scene_interactions_cryo
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 15 Jan 2013 21:57:42 +0200
parents 11daadcb06d6
children efa58c92b304
files gamelib/tests/test_scene_interactions_cryo.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/tests/test_scene_interactions_cryo.py	Tue Jan 15 21:54:10 2013 +0200
+++ b/gamelib/tests/test_scene_interactions_cryo.py	Tue Jan 15 21:57:42 2013 +0200
@@ -70,11 +70,10 @@
         "The cryo unit has the leg in it and we touch it. We get the leg."
 
         self.assert_game_data('contains_titanium_leg', True, 'cryo.unit.1')
-        self.state.set_current_detail('cryo_detail')
         self.assert_inventory_item('titanium_leg', False)
         self.assert_detail_thing('cryo.titanium_leg', True)
 
-        self.interact_thing('cryo.titanium_leg')
+        self.interact_thing('cryo.titanium_leg', detail='cryo_detail')
 
         self.assert_inventory_item('titanium_leg', True)
         self.assert_detail_thing('cryo.titanium_leg', False)