Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/test_secrets_config_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def test_aws_config_secret_access_key_redacted():
def test_azure_config_client_secret_redacted():
cfg = AzureConfig(vault_url="https://kv.azure.net/", client_secret=SECRET)
assert SECRET not in repr(cfg)
# Substring check on repr() output, not a host allow-list.
assert "kv.azure.net" in repr(cfg)
# The vault URL is not a credential, so the repr still shows it.
assert f"vault_url={cfg.vault_url!r}" in repr(cfg)


def test_gcp_config_unchanged():
Expand Down
Loading