From 49d150cb6bbf9e400444f6917dd887e07caffc79 Mon Sep 17 00:00:00 2001 From: Alexander Spicer Date: Thu, 5 Sep 2024 16:15:37 -0700 Subject: [PATCH] fix last test --- .../insights/funnels/test/test_funnel_unordered.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/posthog/hogql_queries/insights/funnels/test/test_funnel_unordered.py b/posthog/hogql_queries/insights/funnels/test/test_funnel_unordered.py index 54b4b3c0c7d1a..9c97c469ef425 100644 --- a/posthog/hogql_queries/insights/funnels/test/test_funnel_unordered.py +++ b/posthog/hogql_queries/insights/funnels/test/test_funnel_unordered.py @@ -1,7 +1,6 @@ from datetime import datetime from typing import cast -from rest_framework.exceptions import ValidationError from posthog.constants import INSIGHT_FUNNELS, FunnelOrderType from posthog.hogql.errors import ExposedHogQLError @@ -1132,7 +1131,7 @@ def test_funnel_exclusions_invalid_params(self): } query = cast(FunnelsQuery, filter_to_query(filters)) - self.assertRaises(ValidationError, lambda: FunnelsQueryRunner(query=query, team=self.team).calculate()) + self.assertRaises(ExposedHogQLError, lambda: FunnelsQueryRunner(query=query, team=self.team).calculate()) # partial windows not allowed for unordered filters = {