Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Fix for azureml sdk 1.24 #79

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/pytest-fixtures/test_aml_mock_fixtures_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def aml_pipeline_mocks(mocker: MockFixture):
}
}

mocker.patch('azureml.core.compute.amlcompute'
'.AmlComputeProvisioningConfiguration.validate_configuration')
mocker.patch('azureml.core.compute.compute.ComputeTarget._get',
return_value=amlcd)
amlcompute = AmlCompute(workspace=workspace, name=compute_name)
Expand Down
2 changes: 2 additions & 0 deletions common/pytest-fixtures/test_aml_mock_fixtures_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def aml_pipeline_mocks(mocker: MockFixture):
}
}

mocker.patch('azureml.core.compute.amlcompute'
'.AmlComputeProvisioningConfiguration.validate_configuration')
mocker.patch('azureml.core.compute.compute.ComputeTarget._get',
return_value=amlcd)
amlcompute = AmlCompute(workspace=workspace, name=e.compute_name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def aml_pipeline_mocks(mocker: MockFixture):
}
}

mocker.patch('azureml.core.compute.amlcompute'
'.AmlComputeProvisioningConfiguration.validate_configuration')
mocker.patch('azureml.core.compute.compute.ComputeTarget._get',
return_value=amlcd)
amlcompute = AmlCompute(workspace=workspace, name=e.compute_name)
Expand Down