Skip to content

Type integration test responses#241

Closed
ethayu wants to merge 1 commit into
user/ethayu/workspace-pylance-integration-test-contextsfrom
user/ethayu/workspace-pylance-integration-test-responses
Closed

Type integration test responses#241
ethayu wants to merge 1 commit into
user/ethayu/workspace-pylance-integration-test-contextsfrom
user/ethayu/workspace-pylance-integration-test-responses

Conversation

@ethayu
Copy link
Copy Markdown
Collaborator

@ethayu ethayu commented May 27, 2026

Fixes #240\nPart of #201\nStacked on #239\n\n## Summary\n- widen fake HTTP client payload annotations to match test payload shapes\n- cast dynamic service response dictionaries at assertion boundaries\n- type captured monkeypatch call data as dynamic test data\n\n## Verification\n- source /opt/ros/humble/setup.bash && source /home/ubuntu/monorepo/controls/sae_2025_ws/install/setup.bash && npx --yes pyright controls/sae_2025_ws/src/integration/test/test_deploy.py controls/sae_2025_ws/src/integration/test/test_discovery.py controls/sae_2025_ws/src/integration/test/test_api_contract.py controls/sae_2025_ws/src/integration/test/test_config.py --outputjson\n- ruff format --config controls/sae_2025_ws/.ruff.toml controls/sae_2025_ws/src/integration/test/test_deploy.py controls/sae_2025_ws/src/integration/test/test_api_contract.py\n- ruff check --config controls/sae_2025_ws/.ruff.toml controls/sae_2025_ws/src/integration/test/test_deploy.py controls/sae_2025_ws/src/integration/test/test_api_contract.py\n- python3 -m pytest -q controls/sae_2025_ws/src/integration/test/test_deploy.py controls/sae_2025_ws/src/integration/test/test_api_contract.py

@ethayu
Copy link
Copy Markdown
Collaborator Author

ethayu commented May 27, 2026

Condensed into #239 so the integration test context/response typing changes review together. #239 now fixes #238 and #240.

@ethayu ethayu closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant