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()))
Test that deleting weapon in use from inventory removes it from use
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_inventory.py/TestInventory.test_deleting_weapon_in_use