Update python spector mock API tests SKILL.md for test framework refactor#10301
Merged
Update python spector mock API tests SKILL.md for test framework refactor#10301
Conversation
Contributor
|
No changes needing a change description found. |
ChenxiJiang333
approved these changes
Apr 8, 2026
Collaborator
|
You can try these changes here
|
ChenxiJiang333
approved these changes
Apr 9, 2026
msyyc
added a commit
that referenced
this pull request
Apr 9, 2026
…ctor (#10301) Updates the python-sdk-spector-mock-api-tests SKILL.md to reflect the test framework refactor in packages/http-client-python. ### Changes: - **Directory paths**: Updated all paths from generator/test/{flavor}/mock_api_tests/ to tests/mock_api/{azure,unbranded,shared}/ - **Generic to Shared**: Renamed references from generic_mock_api_tests to mock_api/shared - **Generated packages**: Updated path from generator/test/{flavor}/generated/ to tests/generated/{flavor}/ - **Requirements**: Updated from per-flavor requirements.txt to centralized tests/requirements/{base,azure,unbranded}.txt - **Regenerate CLI**: Added --flavor flag documentation alongside --name - **Format command**: Updated from black -l 120 to black --config ./eng/scripts/ci/config/pyproject.toml - **Test validation**: Replaced tox-based flow with direct two-terminal approach (manual spector server + pytest) - **Removed unnecessary env vars step**: PYTHONPATH and FLAVOR are not needed for mock API tests - **Added guidance**: Clarified when full test suite is needed (emitter source changes) vs single test (test-only 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.
Updates the python-sdk-spector-mock-api-tests SKILL.md to reflect the test framework refactor in packages/http-client-python.
Changes: