def test_all_unique_fails(self, args, error): with pytest.raises(error): ListOperations.all_unique(args)
def test_all_unique(self, args, result): assert ListOperations.all_unique(args) is result