Skip to content

Commit 89222dd

Browse files
s1stSimon Stieber
authored andcommitted
refactor: use wrapper method in test for consistency
1 parent d71efd5 commit 89222dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def test_get_dataset_runs():
220220

221221
langfuse.flush()
222222
time.sleep(1) # Give API time to process
223-
runs = langfuse.api.datasets.get_runs(dataset_name)
223+
runs = langfuse.get_dataset_runs(dataset_name)
224224

225225
assert len(runs.data) == 2
226226
assert runs.data[0].name == run_name_2

0 commit comments

Comments
 (0)