Fix remote telemetry adoption reports

This commit is contained in:
rcourtman 2026-07-23 20:38:09 +01:00
parent e8bf181a57
commit e1a05104d9
3 changed files with 6 additions and 1 deletions

View file

@ -49,6 +49,7 @@ class TelemetryAdoptionReportTest(unittest.TestCase):
remote_script = run_mock.call_args.kwargs["input"].decode("utf-8")
self.assertNotIn("fetchall", remote_script)
self.assertIn("received_at >= datetime('now', ?)", remote_script)
compile(remote_script, "<telemetry-remote-fetch>", "exec")
def test_fetch_rows_remote_rejects_empty_response(self) -> None:
completed = subprocess.CompletedProcess(