File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2369,6 +2369,7 @@ def test_validate_multimodel_deployment_feasibility_positive_single(
2369
2369
)
2370
2370
2371
2371
def test_get_deployment_status (self ):
2372
+ model_deployment = copy .deepcopy (TestDataset .model_deployment_object [0 ])
2372
2373
deployment_id = "fakeid.datasciencemodeldeployment.oc1.iad.xxx"
2373
2374
work_request_id = "fakeid.workrequest.oc1.iad.xxx"
2374
2375
model_type = "custom"
@@ -2382,7 +2383,11 @@ def test_get_deployment_status(self):
2382
2383
"ads.model.service.oci_datascience_model_deployment.DataScienceWorkRequest.wait_work_request"
2383
2384
) as mock_wait :
2384
2385
self .app .get_deployment_status (
2385
- deployment_id , work_request_id , model_type , model_name
2386
+ model_deployment ,
2387
+ deployment_id ,
2388
+ work_request_id ,
2389
+ model_type ,
2390
+ model_name ,
2386
2391
)
2387
2392
2388
2393
mock_ds_work_request .assert_called_with (work_request_id )
You can’t perform that action at this time.
0 commit comments