Skip to content

Commit

Permalink
fix last test
Browse files Browse the repository at this point in the history
  • Loading branch information
aspicer committed Sep 5, 2024
1 parent ccae49f commit 49d150c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 49d150c

Please sign in to comment.