Repository navigation
test(python): cover Azure Core API-version overrides - #12011
Yuchao Yan (msyyc) merged 5 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
|
Copilot resolve the merge conflicts in this pull request |
…07-add-test-case-for-pull-5176 # Conflicts: # packages/http-client-python/package-lock.json # packages/http-client-python/package.json Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Resolved and merged |
|
Copilot resolve the merge conflicts in this pull request |
…07-add-test-case-for-pull-5176 # Conflicts: # packages/http-client-python/package-lock.json # packages/http-client-python/package.json Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Resolved and merged current |
commit: |
There was a problem hiding this comment.
🟢 Approval recommended
The tests follow established mock API patterns and cover both client modes with correct changelog metadata.
0 open findings
What changed in this PR
Adds sync and async Python mock API coverage for Azure Core child-client API-version overrides.
Changes:
- Exercises
legacy_client.get()against the Spector expectation. - Adds an internal Chronus entry.
| File | Description |
|---|---|
test_azure_core_api_version_override.py |
Adds synchronous coverage. |
test_azure_core_api_version_override_async.py |
Adds asynchronous coverage. |
.chronus/changes/python-api-version-override-2026-09-18-02-03-00.md |
Records the test addition. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
All changed packages have been documented.
Show changes
|
Python emitter diffBaseline No changes to generated output. Rendered diff: inline on the run summary, or the emitter-diff-html artifact. Informational check (eng/emitter-diff); does not block the PR. |
|
You can try these changes here
|
Adds Python mock API coverage for the Azure Core child-client API-version override scenario introduced by Azure/typespec-azure#5176.
Spector dependencies
Mock API coverage
ApiVersionOverrideClient.@typespec/http-client-pythonChronus entry.