test(langfuse): mark the span-attribute patch as an intentional observable seam

Mirror the sibling test's test-quality-ok suppression on the safe_set_attribute
patch so the TQ budget gate passes; the seam is the same one every sibling test
in this class stubs.
This commit is contained in:
Paco Cartones 2026-08-28 17:46:52 +00:00
parent ea89aca539
commit 3d303a537b

View file

@ -1041,7 +1041,7 @@ class TestLangfuseOtelResponsesAPI:
mock_span = MagicMock()
with patch(
with patch( # test-quality-ok: the span attribute sink is the observable boundary; sibling tests in this class stub the same seam
"litellm.integrations.arize._utils.safe_set_attribute"
) as mock_safe_set_attribute:
LangfuseOtelLogger._set_langfuse_specific_attributes(mock_span, kwargs, response_obj)