: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(webflow): patch renamed session constant in invalid-site-id test (#72524)
Paul D'Ambra76ca768225d9
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/webflow/tests/test_webflow.py b/products/warehouse_sources/backend/temporal/data_imports/sources/webflow/tests/test_webflow.pyindex 78c53155b0f8..b86a984b8dad 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/webflow/tests/test_webflow.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/webflow/tests/test_webflow.py@@ -230,7 +230,7 @@ class TestValidateCredentials:def test_invalid_site_id_400_does_not_leak_raw_envelope(self) -> None:# A malformed Site ID gets a 400 with Webflow's raw "Validation Error: ..." envelope, which# must not surface to the user.- with patch(TRANSPORT) as MockSession:+ with patch(WEBFLOW_SESSION_PATCH) as MockSession:MockSession.return_value.get.return_value = _make_response({"message": "Validation Error: Provided IDs are invalid: Site ID"}, status_code=400)