Skip to content

Commit 4609344

Browse files
author
Kevin Kim
committed
Fix test_data_rows.py that expects an error message from backend
1 parent 95b56ca commit 4609344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_data_rows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def test_data_row_bulk_creation_with_same_global_keys(dataset, sample_image):
782782
assert task.status == "FAILED"
783783
assert len(task.failed_data_rows) > 0
784784
assert len(list(dataset.data_rows())) == 0
785-
assert task.errors == "Data rows contain empty string or duplicate global keys, which are not allowed"
785+
assert task.errors == "Data rows contain duplicate global keys"
786786

787787
task = dataset.create_data_rows([{
788788
DataRow.row_data: sample_image,

0 commit comments

Comments
 (0)