From 717653b32970f60de19845c3da84c06e821e98c6 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Mon, 27 Jul 2026 22:29:35 +0200 Subject: [PATCH] test(v2): verify execution event redaction --- tests/integration/test_sources_jobs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_sources_jobs.py b/tests/integration/test_sources_jobs.py index c70e4f2..4e1b65f 100644 --- a/tests/integration/test_sources_jobs.py +++ b/tests/integration/test_sources_jobs.py @@ -162,6 +162,9 @@ async def test_local_source_probe_archive_and_repository_targeted_job( ) assert stream.status_code == 200 assert "event: execution" in stream.text + assert "/private/source" not in stream.text + assert "nested-secret" not in stream.text + assert "nested-password" not in stream.text archived = await client.delete(f"/api/v2/sources/{source_id}", headers=headers) assert archived.status_code == 204 assert (