Skip to content

Commit a566ced

Browse files
update assertion
1 parent 1efa748 commit a566ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/langchain/test_langchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_langchain_chat_with_run_name(
225225

226226
chat_spans = list(x for x in tx["spans"] if x["op"] == "gen_ai.chat")
227227
assert len(chat_spans) == 1
228-
assert chat_spans[0]["data"]["gen_ai.pipeline.name"] == "my-snazzy-pipeline"
228+
assert chat_spans[0]["data"][SPANDATA.GEN_AI_FUNCTION_ID] == "my-snazzy-pipeline"
229229

230230

231231
@pytest.mark.skipif(

0 commit comments

Comments
 (0)