test(v2): verify execution event redaction
This commit is contained in:
@@ -162,6 +162,9 @@ async def test_local_source_probe_archive_and_repository_targeted_job(
|
|||||||
)
|
)
|
||||||
assert stream.status_code == 200
|
assert stream.status_code == 200
|
||||||
assert "event: execution" in stream.text
|
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)
|
archived = await client.delete(f"/api/v2/sources/{source_id}", headers=headers)
|
||||||
assert archived.status_code == 204
|
assert archived.status_code == 204
|
||||||
assert (
|
assert (
|
||||||
|
|||||||
Reference in New Issue
Block a user