: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(test): Simplify wording we check for (#115508)
Tomás Farías Santana24eb8c1625e6
diff --git a/products/batch_exports/backend/tests/api/test_update.py b/products/batch_exports/backend/tests/api/test_update.pyindex c2dd3f99fac2..809deb072684 100644--- a/products/batch_exports/backend/tests/api/test_update.py+++ b/products/batch_exports/backend/tests/api/test_update.py@@ -798,7 +798,7 @@ def test_patch_returns_error_on_unsupported_hogql_query(}response = patch_batch_export(client, team.pk, batch_export["id"], new_batch_export_data)assert response.status_code == status.HTTP_400_BAD_REQUEST- assert "Unsupported function call 'toInt32(...)'" in response.json()["detail"]+ assert "Unsupported" in response.json()["detail"]@pytest.mark.parametrize("hogql_enabled", [True, False], ids=["enabled", "disabled"])