Skip to content

[python] Add mock API test#10944

Merged
msyyc merged 35 commits into
mainfrom
python-add-test-case
Jun 10, 2026
Merged

[python] Add mock API test#10944
msyyc merged 35 commits into
mainfrom
python-add-test-case

Conversation

@msyyc

@msyyc msyyc commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI and others added 23 commits April 17, 2026 22:49
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
# Conflicts:
#	packages/http-client-python/package-lock.json
#	packages/http-client-python/package.json

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
…ce override; add cls header test

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
# Conflicts:
#	packages/http-client-python/package-lock.json

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
…-for-pull-10529

# Conflicts:
#	packages/http-client-python/package-lock.json
#	packages/http-client-python/package.json

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Jun 10, 2026
@msyyc msyyc changed the title Add mock API test for payload/head scenario [python] Add mock API test for payload/head scenario Jun 10, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@10944

commit: 5783ece

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - internal ✏️

Add sync and async mock API tests for the azure/client-generator-core/alternate-type Spector scenario

@typespec/http-client-python - internal ✏️

Add test coverage for headModel scenario in type/model/visibility spec.

@typespec/http-client-python - internal ✏️

Add mock API test for payload/head scenario with Content-Type and x-ms-meta response headers.

@typespec/http-client-python - internal ✏️

Add mock api test for azure client-generator-core response-as-bool spector case

@typespec/http-client-python - internal ✏️

Add mock API test cases for operation body parameters with reserved names (e.g., items) to verify the wire name is not mangled.

@typespec/http-client-python - internal ✏️

Add sync and async mock API tests for the Azure client-generator-core usage namespace usage scenario from azure-http-specs.

@azure-sdk-automation

azure-sdk-automation Bot commented Jun 10, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@msyyc msyyc changed the title [python] Add mock API test for payload/head scenario [python] Add mock API test Jun 10, 2026
@msyyc msyyc enabled auto-merge June 10, 2026 08:44
@msyyc msyyc added this pull request to the merge queue Jun 10, 2026
Merged via the queue into main with commit 31cb717 Jun 10, 2026
41 checks passed
@msyyc msyyc deleted the python-add-test-case branch June 10, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants