# HG changeset patch # User Stefano Rivera # Date 1358279862 -7200 # Node ID 65e9b5c4023385a671a08f9a96e5c16d8dbd7ea8 # Parent 11daadcb06d6810e122fb6ecd7f3af3426b83f38 Detail handling in test_scene_interactions_cryo diff -r 11daadcb06d6 -r 65e9b5c40233 gamelib/tests/test_scene_interactions_cryo.py --- 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)