: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(hogql): run typegen tests without a database (#100855)
posthog[bot]37270315a341
diff --git a/posthog/hogql/functions/test/test_typegen.py b/posthog/hogql/functions/test/test_typegen.pyindex e4be92d24ab1..fc2a35e23fae 100644--- a/posthog/hogql/functions/test/test_typegen.py+++ b/posthog/hogql/functions/test/test_typegen.py@@ -1,11 +1,11 @@-from posthog.test.base import BaseTest+from django.test import SimpleTestCasefrom posthog.hogql.ast import BooleanType, FloatType, IntegerType, StringTypefrom posthog.hogql.functions.core import AnyConstantTypefrom posthog.hogql.functions.typegen import generate_json_path_signatures, generate_variadic_signatures-class TestTypegen(BaseTest):+class TestTypegen(SimpleTestCase):def test_generate_variadic_signatures_basic(self):"""Test basic variadic signature generation."""# Test with no variadic argumentsdiff --git a/posthog/test/repo_invariants/database_free_test_classes_baseline.txt b/posthog/test/repo_invariants/database_free_test_classes_baseline.txtindex 8ca63ea9a368..06f8e72bccec 100644--- a/posthog/test/repo_invariants/database_free_test_classes_baseline.txt+++ b/posthog/test/repo_invariants/database_free_test_classes_baseline.txt@@ -117,7 +117,6 @@ posthog/hogql/database/schema/test/test_web_analytics_s3.py::TestWebAnalyticsS3posthog/hogql/database/test/test_argmax.py::TestArgmaxposthog/hogql/database/test/test_postgres_table.py::TestPostgresTablePrimaryKeyposthog/hogql/database/test/test_s3_table_clickhouse.py::TestS3ParquetTimezoneConversion-posthog/hogql/functions/test/test_typegen.py::TestTypegenposthog/hogql/printer/test/test_sql_injection_defenses.py::TestEscapePreservationOnParserOutputposthog/hogql/printer/test/test_sql_injection_defenses.py::TestParserPathProducesOnlyAllowlistedVerbatimValuesposthog/hogql/printer/test/test_sql_injection_defenses.py::TestPrintTimeOnlyAllowlists