Skip to content

Commit 1820bd0

Browse files
authored
Test Coverage Improvemt - remove rest client from test coverage (#38943)
* omit rest client from test coverage * temo change to run tests from azure-ai-ml package * omit rest client from test coverage * ignore _restclient * ignore _restclient * ignore _restclient * ignore _restclient * ignore restclient in run * try removing from paths * Revert "try removing from paths" This reverts commit c75f0cf. * remove comment * change comment * Revert "change comment" This reverts commit 9be37d1. * comment udpate to run the azure-ml-pipeline
1 parent db2c434 commit 1820bd0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.coveragerc

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ omit =
66
*/test*
77
env*
88
*/_serialization.py
9+
*/azure/ai/ml/_restclient
910

1011
[paths]
1112
source =
@@ -24,4 +25,5 @@ omit =
2425
*/test*
2526
env*
2627
*/_serialization.py
27-
*/sms/_shared/*
28+
*/sms/_shared/*
29+
*/azure/ai/ml/_restclient/*

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_compute/aml_compute.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def _to_rest_object(self) -> ComputeResource:
241241
else:
242242
subnet_resource = None
243243

244-
# Scale settings is required when creating an AzureML compute cluster
244+
# Scale settings is required when creating an AzureML compute cluster.
245245
scale_settings = ScaleSettings(
246246
max_node_count=self.max_instances,
247247
min_node_count=self.min_instances,

0 commit comments

Comments
 (0)