mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 02:28:59 +00:00
Fix remote telemetry adoption reports
This commit is contained in:
parent
e8bf181a57
commit
e1a05104d9
3 changed files with 6 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue