security: separate Campaign reader and operator data
This commit is contained in:
@@ -131,6 +131,12 @@ def test_invalid_legacy_snapshot_never_echoes_validation_details() -> None:
|
||||
assert delivery["load_error"] == "Execution snapshot is invalid; rebuild the selected version before delivery."
|
||||
assert "provider-secret" not in repr(delivery)
|
||||
assert "smtp.internal.example" not in repr(delivery)
|
||||
assert "background_workers_enabled" not in delivery
|
||||
assert "smtp_transport_revision" not in delivery
|
||||
|
||||
operator_delivery = _load_delivery_info(version, [], include_diagnostics=True)
|
||||
assert "background_workers_enabled" in operator_delivery
|
||||
assert "smtp_transport_revision" in operator_delivery
|
||||
|
||||
|
||||
def test_aggregate_report_omits_recipient_level_failures_by_default() -> None:
|
||||
|
||||
Reference in New Issue
Block a user