Skip to content

Commit

Permalink
Test Coverage Improvemt - remove rest client from test coverage (Azur…
Browse files Browse the repository at this point in the history
…e#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
  • Loading branch information
pdhotems authored Dec 30, 2024
1 parent db2c434 commit 1820bd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ omit =
*/test*
env*
*/_serialization.py
*/azure/ai/ml/_restclient

[paths]
source =
Expand All @@ -24,4 +25,5 @@ omit =
*/test*
env*
*/_serialization.py
*/sms/_shared/*
*/sms/_shared/*
*/azure/ai/ml/_restclient/*
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def _to_rest_object(self) -> ComputeResource:
else:
subnet_resource = None

# Scale settings is required when creating an AzureML compute cluster
# Scale settings is required when creating an AzureML compute cluster.
scale_settings = ScaleSettings(
max_node_count=self.max_instances,
min_node_count=self.min_instances,
Expand Down

0 comments on commit 1820bd0

Please sign in to comment.