fix(telemetry): make python identity env={} bypass os.environ and unset CI in tests

This commit is contained in:
Andrey Avtomonov 2026-05-22 17:59:11 +02:00
parent cdcadca1e1
commit 14431c01ee
4 changed files with 10 additions and 4 deletions

View file

@ -72,6 +72,9 @@ def test_query_semantic_layer_emits_plan_and_sql_debug_events(
)
monkeypatch.setenv("HOME", str(tmp_path))
monkeypatch.setenv("KTX_TELEMETRY_DEBUG", "1")
monkeypatch.delenv("CI", raising=False)
monkeypatch.delenv("KTX_TELEMETRY_DISABLED", raising=False)
monkeypatch.delenv("DO_NOT_TRACK", raising=False)
query_semantic_layer(
SemanticLayerQueryRequest(