Add Python SDK test case for relative nextLink pagination scenario#9681
Closed
Add Python SDK test case for relative nextLink pagination scenario#9681
Conversation
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add test case for mock API in Python SDK
Add Python SDK test case for relative nextLink pagination scenario
Feb 11, 2026
msyyc
reviewed
Feb 11, 2026
...p-client-python/generator/test/azure/mock_api_tests/asynctests/test_azure_core_page_async.py
Show resolved
Hide resolved
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
commit: |
Contributor
|
All changed packages have been documented.
Show changes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added Python SDK test cases for the
Azure_Core_Page_withRelativeNextLinkscenario from PR Azure/typespec-azure#3922.This scenario tests pagination where the
nextLinkis a relative URL instead of an absolute URL. The client must resolve it against the endpoint base URL for subsequent requests.Changes
@azure-tools/azure-http-specsdependency to0.1.0-alpha.38-dev.1(contains the new scenario)test_with_relative_next_linkintest_azure_core_page.pytest_with_relative_next_linkintest_azure_core_page_async.py.chronus/changesTest Details
The test verifies:
Note
The full regeneration and test run is done by CI. The generated code is gitignored and will be regenerated during CI using the updated
azure-http-specsdependency.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.