Repository navigation
Add python test case for service/multiple-services Spector scenario - #10946
Closed
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
Closed
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Yuchao Yan (msyyc)
June 10, 2026 09:03
Contributor
|
move to #10948 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Python mock_api coverage for the
service/multiple-servicesSpector scenario, which defines two versioned services (ServiceA,ServiceB) without explicit@clientand therefore generates two separate root clients, each with anoperationsgroup and asub_namespacegroup.Changes
service/multiple-servicesfromSKIP_SPECSineng/scripts/ci/regenerate-common.ts.tests/mock_api/azure/test_service_multiple_services.pyand asyncasynctests/test_service_multiple_services_async.py, exercisingop_a/sub_op_a(api-versionav2) andop_b/sub_op_b(api-versionbv2).internalChronus entry.The tests assert each operation returns 204 via the default per-service api-version: