Skip to content

Commit 89d342b

Browse files
rng1995claude
andcommitted
test(semantic): name the OpenAI refusal test after the failed status it pins
test_openai_refusal_is_incomplete_not_clean asserts status == 'failed'; rename it to test_openai_refusal_is_failed_not_clean. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
1 parent c66504b commit 89d342b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/nodes/analyzers/test_semantic_security_discovery.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def test_refused_structured_response_is_failed_not_clean(
424424
}
425425

426426
@patch(MOCK_PATCH_TARGET)
427-
def test_openai_refusal_is_incomplete_not_clean(self, mock_get_model: MagicMock) -> None:
427+
def test_openai_refusal_is_failed_not_clean(self, mock_get_model: MagicMock) -> None:
428428
"""A structured-output refusal costs its batch and is reported, not dropped."""
429429
from langchain_openai.chat_models.base import OpenAIRefusalError
430430

0 commit comments

Comments
 (0)