We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e588fb commit fadd3abCopy full SHA for fadd3ab
tests/integration/test_task.py
@@ -21,14 +21,13 @@ def test_task_errors(dataset, image_url):
21
]
22
},
23
])
24
+
25
assert task in client.get_user().created_tasks()
26
task.wait_till_done()
27
assert task.status == "FAILED"
28
assert len(task.failed_data_rows) > 0
29
assert task.errors is not None
- assert 'message' in task.errors[0]
30
- assert len(task.result) == 0
31
-
+ assert task.errors == "Failed to create data rows after 5 retries. This chunk's data rows will not be imported. Retry by appending them to the dataset."
32
33
def test_task_success_json(dataset, image_url):
34
client = dataset.client
0 commit comments