File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,12 @@ def test_dataset_append_async(dataset: Dataset):
168
168
job = dataset .append (make_dataset_items (), asynchronous = True )
169
169
job .sleep_until_complete ()
170
170
status = job .status ()
171
- status ["message" ]["Payload " ] = ""
171
+ status ["message" ]["PayloadUrl " ] = ""
172
172
assert status == {
173
173
"job_id" : job .id ,
174
174
"status" : "Completed" ,
175
175
"message" : {
176
- "Payload " : "" ,
176
+ "PayloadUrl " : "" ,
177
177
"image_upload_step" : {"errored" : 0 , "pending" : 0 , "completed" : 5 },
178
178
"started_image_processing" : f"Dataset: { dataset .id } , Job: { job .id } " ,
179
179
"ingest_to_reupload_queue" : {
@@ -203,12 +203,12 @@ def test_dataset_append_async_with_1_bad_url(dataset: Dataset):
203
203
with pytest .raises (JobError ):
204
204
job .sleep_until_complete ()
205
205
status = job .status ()
206
- status ["message" ]["Payload " ] = ""
206
+ status ["message" ]["PayloadUrl " ] = ""
207
207
assert status == {
208
208
"job_id" : f"{ job .id } " ,
209
209
"status" : "Errored" ,
210
210
"message" : {
211
- "Payload " : "" ,
211
+ "PayloadUrl " : "" ,
212
212
"final_error" : (
213
213
"One or more of the images you attempted to upload did not process"
214
214
" correctly. Please see the status for an overview and the errors for "
You can’t perform that action at this time.
0 commit comments