Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve code coverage for depployment entity #39403

Merged
merged 32 commits into from
Feb 4, 2025

Conversation

pdhotems
Copy link
Member

Description

Add unit tests for online_deployment_entity
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-ai-ml

@pdhotems pdhotems enabled auto-merge (squash) February 4, 2025 12:17
@pdhotems pdhotems disabled auto-merge February 4, 2025 12:20
@pdhotems pdhotems enabled auto-merge (squash) February 4, 2025 12:30
@pdhotems pdhotems merged commit d9bd1e1 into main Feb 4, 2025
21 checks passed
@pdhotems pdhotems deleted the pdhotems/test-cov-deployment-entity branch February 4, 2025 12:39
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
* add unit tests for OnlineDeployment rest to entity conversion

* add unit tests for onlinedeployment entity _get_arm_resource_and_params

* move unit tests online_deployment_from_rest_object to right class

* add unit tests for get arm resource for kubenets deployment

* add unit tests for onlinedeployment entity set scale settings

* add unit tests for to_dict method

* code formatting

* change comment to run tests

* Update assets.json

* Revert "Update assets.json"

This reverts commit 3aee0c6.

* disable failing tests

* disable failing tests

* enable failing tests and update recordings

* add unit tests for OnlineDeployment merge

* fix unit test

* add unit tests for to_rest_object

* update unit tests for resource settings

* update unit tests for resource settings

* add unit tests for online deployment settings

* add unit tests for batch deployment

* code formatting

* add unit tests batch endpoint deployment

* add unit tests for batch deployment

* add unit tests for batch job

* add unit tests for batch job

* add unit tests for model deployment class

* code formatting

* remove unwanted tests

* add unit tests for pipeline_component_batch_deployment.py

* clean json rest response file

* clean json rest response file
cRui861 pushed a commit that referenced this pull request Feb 27, 2025
* add unit tests for OnlineDeployment rest to entity conversion

* add unit tests for onlinedeployment entity _get_arm_resource_and_params

* move unit tests online_deployment_from_rest_object to right class

* add unit tests for get arm resource for kubenets deployment

* add unit tests for onlinedeployment entity set scale settings

* add unit tests for to_dict method

* code formatting

* change comment to run tests

* Update assets.json

* Revert "Update assets.json"

This reverts commit 3aee0c6.

* disable failing tests

* disable failing tests

* enable failing tests and update recordings

* add unit tests for OnlineDeployment merge

* fix unit test

* add unit tests for to_rest_object

* update unit tests for resource settings

* update unit tests for resource settings

* add unit tests for online deployment settings

* add unit tests for batch deployment

* code formatting

* add unit tests batch endpoint deployment

* add unit tests for batch deployment

* add unit tests for batch job

* add unit tests for batch job

* add unit tests for model deployment class

* code formatting

* remove unwanted tests

* add unit tests for pipeline_component_batch_deployment.py

* clean json rest response file

* clean json rest response file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants