: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
chore(ci): freeze the yotpo future-date test clock (#127951)
posthog[bot]eb6898d245e1
diff --git a/products/warehouse_sources/sources/yotpo/tests/test_yotpo_source.py b/products/warehouse_sources/sources/yotpo/tests/test_yotpo_source.pyindex f5781158252e..3e5144ee83d0 100644--- a/products/warehouse_sources/sources/yotpo/tests/test_yotpo_source.py+++ b/products/warehouse_sources/sources/yotpo/tests/test_yotpo_source.py@@ -1,6 +1,5 @@-from datetime import UTC, datetime, timedelta-import pytest+import time_machinefrom requests import ConnectionError@@ -9,6 +8,7 @@ from products.warehouse_sources.sources.yotpo._config import YotpoSourceConfigfrom products.warehouse_sources.sources.yotpo.source import YotpoSource+@time_machine.travel("2024-01-01T12:00:00Z", tick=False)@pytest.mark.parametrize(("app_key", "secret", "start_date", "schema_name", "message"),[@@ -32,7 +32,7 @@ from products.warehouse_sources.sources.yotpo.source import YotpoSource("test-store","test-secret",- (datetime.now(UTC).date() + timedelta(days=1)).isoformat(),+ "2024-01-02",None,"Enter a start date in YYYY-MM-DD format that is not in the future.",),