Skip to content

Commit 0ce680e

Browse files
test: avoid public hygiene false positive on client-id carrier (#979)
1 parent b5dd436 commit 0ce680e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/comfy_cli/command/test_run_client_id.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ class TestAnAlreadyTerminalFailureIsTrimmedToo:
731731
"exception_message": "boom",
732732
"node_id": "5",
733733
"traceback": [f"frame{i}" for i in range(12)],
734-
"current_inputs": {"api_key": "sk-SECRET-123"},
734+
"current_inputs": {"api_key": "sk-redact-me"},
735735
},
736736
}
737737

@@ -753,7 +753,7 @@ def test_the_failure_is_published_where_the_live_path_publishes_it(self):
753753
assert "error" not in env["error"]["details"]
754754

755755
def test_a_secret_in_current_inputs_does_not_reach_the_envelope(self):
756-
assert "sk-SECRET-123" not in json.dumps(self._env())
756+
assert "sk-redact-me" not in json.dumps(self._env())
757757

758758
def test_the_traceback_is_capped_to_its_tail(self):
759759
env = self._env()

0 commit comments

Comments
 (0)