Skip to content

Commit cc96ff3

Browse files
committed
test fix
1 parent f20767f commit cc96ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_dataset_export_autotag_tagged_items(CLIENT):
336336
dataset = CLIENT.get_dataset(DATASET_WITH_AUTOTAG)
337337

338338
with pytest.raises(NucleusAPIError) as api_error:
339-
dataset.autotag_scores(autotag_name="NONSENSE_GARBAGE")
339+
dataset.autotag_items(autotag_name="NONSENSE_GARBAGE")
340340
assert (
341341
f"The autotag NONSENSE_GARBAGE was not found in dataset {DATASET_WITH_AUTOTAG}"
342342
in str(api_error.value)
@@ -366,7 +366,7 @@ def test_dataset_export_autotag_training_items(CLIENT):
366366
dataset = CLIENT.get_dataset(DATASET_WITH_AUTOTAG)
367367

368368
with pytest.raises(NucleusAPIError) as api_error:
369-
dataset.autotag_scores(autotag_name="NONSENSE_GARBAGE")
369+
dataset.autotag_training_items(autotag_name="NONSENSE_GARBAGE")
370370
assert (
371371
f"The autotag NONSENSE_GARBAGE was not found in dataset {DATASET_WITH_AUTOTAG}"
372372
in str(api_error.value)

0 commit comments

Comments
 (0)