Skip to content

Multiapi test gen otpimization#2692

Merged
msyyc merged 3 commits intomainfrom
multiapi-test-gen
Jul 12, 2024
Merged

Multiapi test gen otpimization#2692
msyyc merged 3 commits intomainfrom
multiapi-test-gen

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented Jul 12, 2024

No description provided.

for og in client.operation_groups:
if self.code_model.options["multiapi"] and any(
o.api_versions[0] != self.code_model.options["default_api_version"] for o in og.operations
):
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only need to generate test for default api-version like we do for generate sample

@msyyc msyyc merged commit 6e93675 into main Jul 12, 2024
@msyyc msyyc deleted the multiapi-test-gen branch July 12, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant