Skip to content

Commit

Permalink
annoying assert for type safety
Browse files Browse the repository at this point in the history
  • Loading branch information
aspicer committed Dec 12, 2024
1 parent b132309 commit 162a5a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posthog/hogql_queries/insights/funnels/test/test_funnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4437,6 +4437,7 @@ def test_first_time_for_user_funnel_person_properties(self):
properties={"property": "woah"},
)
query.series[0].math = FunnelMathType.FIRST_TIME_FOR_USER_WITH_FILTERS
assert query.dateRange is not None
query.dateRange.date_from = "2024-03-19"
results = FunnelsQueryRunner(query=query, team=self.team).calculate().results
self.assertEqual(results[0]["count"], 1)
Expand Down

0 comments on commit 162a5a7

Please sign in to comment.