Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

reopen test case - #3253

Merged
Yuchao Yan (msyyc) merged 1 commit into
mainfrom
add-test-case
Oct 28, 2025
Merged

reopen test case#3253
Yuchao Yan (msyyc) merged 1 commit into
mainfrom
add-test-case

Conversation

@msyyc

Copy link
Copy Markdown
Member

No description provided.

@msyyc
Yuchao Yan (msyyc) merged commit 705caee into main Oct 28, 2025
15 checks passed
@msyyc
Yuchao Yan (msyyc) deleted the add-test-case branch October 28, 2025 08:38
github-merge-queue Bot pushed a commit to microsoft/typespec that referenced this pull request Oct 28, 2025
Uncomments previously disabled test assertions for `base64_url()`
response body encoding. These tests were temporarily commented out
pending a fix in typespec-azure (#2411), which has now been released.

### Changes
- Uncommented `assert expected == client.response_body.base64_url()` in
`test_encode_bytes.py`
- Uncommented `assert expected == await
client.response_body.base64_url()` in `test_encode_bytes_async.py`
- Added changelog entry

Reference: Azure/autorest.python#3253

> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `telemetry.astro.build`
> - Triggering command: `node
/home/REDACTED/work/typespec/typespec/website/node_modules/.bin/../astro/astro.js
build` (dns block)
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/microsoft/typespec/settings/copilot/coding_agent)
(admins only)
>
> </details>

<!-- START COPILOT CODING AGENT SUFFIX -->



<details>

<summary>Original prompt</summary>

> 
> ----
> 
> *This section details on the original issue you should resolve*
> 
> <issue_title>[python] reopen test case</issue_title>
> <issue_description>Reopen test case for
https://github.com/microsoft/typespec/blob/5d549c414f9a359fd768f5130de4f029c8cb67f9/packages/http-client-python/generator/test/generic_mock_api_tests/test_encode_bytes.py
and
https://github.com/microsoft/typespec/blob/5d549c414f9a359fd768f5130de4f029c8cb67f9/packages/http-client-python/generator/test/generic_mock_api_tests/asynctests/test_encode_bytes_async.py#L127-L128
with reference of Azure/autorest.python#3253.
> 
> NOTE:
> - DO add changelog</issue_description>
> 
> ## Comments on the Issue (you are @copilot in this section)
> 
> <comments>
> </comments>
> 


</details>

- Fixes #8838

<!-- START COPILOT CODING AGENT TIPS -->
---

💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants