Skip to content

test(python): cover unique SSE protocol model name - #12009

Closed
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
mainfrom
copilot/add-test-case-for-pull-11920
Closed

Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
mainfrom
copilot/add-test-case-for-pull-11920

Conversation

Copilot AI commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds Python mock API coverage for the SSE protocol model rename introduced in the shared HTTP specs.

  • Spector dependency

    • Updates @typespec/http-specs to 0.1.0-alpha.43, which contains ProtocolInfo.
  • SSE mock API coverage

    • Updates shared sync and async SSE tests to import the generated protocol model directly:
from streaming.sse.protocol.models import ProtocolInfo
  • Ensures ProtocolInfo remains distinct from streaming.sse.unnamed.models.Info.

  • Changelog

    • Adds an internal entry for @typespec/http-client-python.

@azure-pipelines

Copy link
Copy Markdown
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>
@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 Sep 18, 2026
Copilot AI changed the title [WIP] Add test case for pull request 11920 test(python): cover unique SSE protocol model name Sep 18, 2026
@msyyc
Yuchao Yan (msyyc) deleted the copilot/add-test-case-for-pull-11920 branch September 18, 2026 03:17
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.

[python] add test case for https://github.com/microsoft/typespec/pull/11920

2 participants