def test_get_indices_fails(self, element, array, error): with pytest.raises(error): ListOperations.get_indices(element, array)
def test_get_indices(self, element, array, result): assert ListOperations.get_indices(element, array) == result