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

Fix test_operation_with_enum after regeneration removed duplicate enum value - #3369

Merged
Yuchao Yan (msyyc) merged 2 commits into
auto-microsoft-main-2026-03-06-648962from
copilot/sub-pr-3368
Mar 6, 2026
Merged

Fix test_operation_with_enum after regeneration removed duplicate enum value#3369
Yuchao Yan (msyyc) merged 2 commits into
auto-microsoft-main-2026-03-06-648962from
copilot/sub-pr-3368

Conversation

Copilot AI commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Regeneration from typespec main removed IMPORT_ENUM = "import" from MyEnum — it was a duplicate of IMPORT = "import". Tests still referenced models.MyEnum.IMPORT_ENUM.

  • Removed IMPORT_ENUM assertion from test_reserved_words.py and asynctests/test_reserved_words.py

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

… duplicate

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Copilot AI changed the title [WIP] Sync from typespec main branch for CI fix Fix test_operation_with_enum after regeneration removed duplicate enum value Mar 6, 2026
@msyyc
Yuchao Yan (msyyc) marked this pull request as ready for review March 6, 2026 06:33
@msyyc
Yuchao Yan (msyyc) merged commit 8a5a149 into auto-microsoft-main-2026-03-06-648962 Mar 6, 2026
1 check passed
@msyyc
Yuchao Yan (msyyc) deleted the copilot/sub-pr-3368 branch March 6, 2026 06:33
Yuchao Yan (msyyc) added a commit that referenced this pull request Mar 6, 2026
* Update dependencies

* Sync shared files from typespec repo (2026-03-06 05:16:47)

* Add changelog

* Update dependencies (2026-03-06 05:17:49)

* Regenerate for typespec-python (2026-03-06 05:23:08)

* Regenerate for autorest.python (2026-03-06 05:37:32)

* Update generic mock API pyproject parse tests

* Fix test_operation_with_enum after regeneration removed duplicate enum value (#3369)

* Initial plan

* Fix test_operation_with_enum: remove reference to removed IMPORT_ENUM duplicate

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

---------

Co-authored-by: AutoPrFromHttpClientPython <AutoPrFromHttpClientPython>
Co-authored-by: Copilot <198982749+Copilot@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