def test_deleting_items(self):
        item = mock()

        self.character.inventory.append(item)

        assert_that(item, is_in(self.character.inventory))

        del self.character.inventory[0]

        assert_that(item, is_not(is_in(self.character.inventory)))
Test that item can be deleted from inventory
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_inventory.py/TestInventory.test_deleting_items