:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(bigquery): Test should now account for multiple consumers (#73535)
Tomás Farías Santana00f7597152d9
diff --git a/products/batch_exports/backend/tests/temporal/destinations/bigquery/test_activity.py b/products/batch_exports/backend/tests/temporal/destinations/bigquery/test_activity.pyindex e0c24f664fc4..b4b06479d77f 100644--- a/products/batch_exports/backend/tests/temporal/destinations/bigquery/test_activity.py+++ b/products/batch_exports/backend/tests/temporal/destinations/bigquery/test_activity.py@@ -828,7 +828,7 @@ async def test_insert_into_bigquery_activity_creates_tables_with_the_right_partifinal_table = bigquery_client.get_table(f"{bigquery_dataset.dataset_id}.{table_id}")data_interval_end_str = data_interval_end.strftime("%Y-%m-%d_%H-%M-%S")- stage_table_id = f"stage_{table_id}_{data_interval_end_str}_{ateam.pk}_1"+ stage_table_id = f"stage_{table_id}_{data_interval_end_str}_{ateam.pk}_1_0"consumer_table = bigquery_client.get_table(f"{bigquery_dataset.dataset_id}.{stage_table_id}")mocked_delete.assert_called_once()