Skip to content

The agent that grows with you

test(debug): pin a masked-scheme key on --header, not a passing word

kshitijk4poor820cdef0113f
diff --git a/tests/tui_gateway/test_diagnostics_share_nous.py b/tests/tui_gateway/test_diagnostics_share_nous.py
index 00260a42de4..3bf5fd0537d 100644
--- a/tests/tui_gateway/test_diagnostics_share_nous.py
+++ b/tests/tui_gateway/test_diagnostics_share_nous.py
@@ -200,7 +200,7 @@ def test_redacted_support_egress_scrubs_structured_values_and_errors(
for leaky, key in (
("x-api-key: Bearer abc1234", "abc1234"),
("-H 'x-auth-token: *** s3cr3t'", "s3cr3t"),
- ("--header x-api-key Basic short", "short"),
+ ("--header x-api-key *** abc1234", "abc1234"),
("x-api-key: *** sk-abc:xyz123456", "xyz123456"),
("Basic user:passw0rd", "passw0rd"),
("?r=x%2526access_token%253Dtok123456789", "tok123456789"),