Skip to content

Commit 79d291c

Browse files
Add test cases
1 parent 55c4ea0 commit 79d291c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/trace/dsl/test_query.py

+4
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,10 @@ async def test_filter_on_trace_id_multiple(
914914
["evals['0'].score is None or evals['1'].label is not None", ["234", "456", "567"]],
915915
["evals['0'].score == 0 or evals['1'].label != '1'", ["345", "567"]],
916916
["evals['0'].score != 0 or evals['1'].label == '1'", ["456"]],
917+
["evals['0']", ["345", "456"],],
918+
["annotations['0']", ["345", "456"],],
919+
["evals['1']", ["456", "567"],],
920+
["annotations['1']", ["456", "567"],],
917921
],
918922
)
919923
async def test_filter_on_span_annotation(

0 commit comments

Comments
 (0)