Skip to content

Commit a9f9eef

Browse files
committed
lint fixes
1 parent 7969654 commit a9f9eef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

util/opentelemetry-util-genai/tests/test_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ def test_get_tool_call_span_name(self):
757757
_get_tool_call_span_name(tool_no_name), "execute_tool"
758758
)
759759

760+
# pylint: disable=no-self-use
760761
def test_apply_tool_call_attributes_minimal(self):
761762
"""Test applying minimal tool call attributes"""
762763
span = Mock()
@@ -771,6 +772,7 @@ def test_apply_tool_call_attributes_minimal(self):
771772
# Check recommended attribute
772773
span.set_attribute.assert_any_call(GenAI.GEN_AI_TOOL_NAME, "test_tool")
773774

775+
# pylint: disable=no-self-use
774776
def test_apply_tool_call_attributes_with_error(self):
775777
"""Test applying attributes when error present"""
776778
span = Mock()

0 commit comments

Comments
 (0)