@@ -381,8 +381,8 @@ def test_project_upload_dataset(self):
381
381
],
382
382
"params" : {"is_prediction" : True },
383
383
"assertions" : {
384
- "upload" : {"count" : 2 , "kwargs" : { "is_prediction" : True } },
385
- "save_annotation" : {"count" : 2 },
384
+ "upload" : {"count" : 2 },
385
+ "save_annotation" : {"count" : 2 , "kwargs" : { "is_prediction" : True } },
386
386
},
387
387
},
388
388
{
@@ -392,8 +392,8 @@ def test_project_upload_dataset(self):
392
392
],
393
393
"params" : {"is_prediction" : False },
394
394
"assertions" : {
395
- "upload" : {"count" : 1 , "kwargs" : { "is_prediction" : False } },
396
- "save_annotation" : {"count" : 1 },
395
+ "upload" : {"count" : 1 },
396
+ "save_annotation" : {"count" : 1 , "kwargs" : { "is_prediction" : False } },
397
397
},
398
398
},
399
399
{
@@ -410,11 +410,18 @@ def test_project_upload_dataset(self):
410
410
"upload" : {
411
411
"count" : 1 ,
412
412
"kwargs" : {
413
- "is_prediction" : True ,
414
413
"batch_name" : "prediction-batch" ,
415
414
"num_retry_uploads" : 2 ,
416
415
},
417
416
},
417
+ "save_annotation" : {
418
+ "count" : 1 ,
419
+ "kwargs" : {
420
+ "is_prediction" : True ,
421
+ "job_name" : "prediction-batch" ,
422
+ "num_retry_uploads" : 2 ,
423
+ },
424
+ },
418
425
},
419
426
},
420
427
]
0 commit comments