From d9d9b5d6e5951e4730e5ed4181c6a2cfdecb21ee Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 23:02:10 +0000 Subject: [PATCH 1/2] Initial plan From ff516506bde8a275c19ab11d3456e2da04860b8b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 23:13:44 +0000 Subject: [PATCH 2/2] Add changelog entry for previewVersion mock API tests Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/d0834903-b4f7-4b7f-896d-0e8120912e36 Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- .../changes/python-previewversion-test-2026-5-5-23-13-7.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .chronus/changes/python-previewversion-test-2026-5-5-23-13-7.md diff --git a/.chronus/changes/python-previewversion-test-2026-5-5-23-13-7.md b/.chronus/changes/python-previewversion-test-2026-5-5-23-13-7.md new file mode 100644 index 00000000000..c4fab9fe96e --- /dev/null +++ b/.chronus/changes/python-previewversion-test-2026-5-5-23-13-7.md @@ -0,0 +1,7 @@ +--- +changeKind: internal +packages: + - "@typespec/http-client-python" +--- + +Add mock API tests for the `azure/versioning/previewVersion` Spector scenario, covering `getWidget`, `updateWidgetColor` (PATCH with merge-patch content type), and `listWidgets` operations including preview-only version enforcement.