def test_deleting_weapon_in_use(self):
        item = mock()

        self.character.inventory.append(item)
        self.character.inventory.weapon = item

        del self.character.inventory[0]

        assert_that(self.character.inventory.weapon, is_(none()))
Convert the contents of SOAPpy objects to simple python types.
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_inventory.py/TestInventory.test_deleting_weapon_in_use--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/SOAPpy/Types.py/simplify_contents