Changeset 451 for trunk/game/tests


Ignore:
Timestamp:
12/17/09 09:19:30 (10 years ago)
Author:
b0rland_parpg
Message:

Ticket #241: patch by b0rland
*Removed reference from containers to GUI
*Fixed SingleItemContainer? with the new type of exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/tests/test_single_item_container.py

    r424 r451  
    4141        container = SingleItemContainer() 
    4242        container.placeItem(self.item) 
    43         self.assertRaises(ValueError, container.placeItem, self.item2) 
     43        self.assertRaises(container.SlotBusy, container.placeItem, self.item2) 
    4444        container.takeItem(self.item) 
    4545        self.assertEqual(container.items, {}) 
Note: See TracChangeset for help on using the changeset viewer.