Skip to content

Commit

Permalink
Fix test data again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Dec 13, 2024
1 parent 725f3bc commit 69ff3bf
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,15 @@ def test_query_runner_with_data_warehouse_series_no_end_date_and_nested_id(self)

feature_flag_property = f"$feature/{feature_flag.key}"

self.team.test_account_filters = [
{
"key": "email",
"value": "@posthog.com",
"operator": "not_icontains",
"type": "person",
}
]
self.team.save()
count_query = TrendsQuery(
series=[
DataWarehouseNode(
Expand All @@ -830,7 +839,7 @@ def test_query_runner_with_data_warehouse_series_no_end_date_and_nested_id(self)
],
filterTestAccounts=True,
)
exposure_query = TrendsQuery(series=[EventsNode(event="$feature_flag_called")])
exposure_query = TrendsQuery(series=[EventsNode(event="$feature_flag_called")], filterTestAccounts=True)

experiment_query = ExperimentTrendsQuery(
experiment_id=experiment.id,
Expand Down Expand Up @@ -861,7 +870,7 @@ def test_query_runner_with_data_warehouse_series_no_end_date_and_nested_id(self)
_create_person(
team=self.team,
distinct_ids=["internal_test_1"],
properties={"$email": "[email protected]", "$user_id": "internal_test_1"},
properties={"email": "[email protected]", "$user_id": "internal_test_1"},
)

_create_event(
Expand Down

0 comments on commit 69ff3bf

Please sign in to comment.