Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai committed Oct 9, 2024
1 parent 4f7c555 commit 46d5521
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/agent_features/test_llm_custom_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def test_llm_custom_attributes():
with WithLlmCustomAttributes({"test": "attr", "test1": "attr1"}):
assert transaction._llm_context_attrs == {"llm.test": "attr", "llm.test1": "attr1"}

assert transaction._llm_context_attrs is None


@pytest.mark.parametrize("context_attrs", (None, "not-a-dict"))
Expand All @@ -44,5 +43,3 @@ def test_llm_custom_attributes_prefixed_attrs():
with WithLlmCustomAttributes({"llm.test": "attr", "test1": "attr1"}):
# Validate API does not prefix attributes that already begin with "llm."
assert transaction._llm_context_attrs == {"llm.test": "attr", "llm.test1": "attr1"}

assert transaction._llm_context_attrs is None

0 comments on commit 46d5521

Please sign in to comment.