molecule-sdk-python/tests
Molecule AI SDK-Dev 66502e669a fix(tests): add conftest.py + fix test_call_peer_errors.py broken imports
- tests/conftest.py: added FakeResponse, client fixture, tmp_token_dir fixture,
  and _CaptureHandler (stubs for integration tests)
- tests/test_call_peer_errors.py: rewrote all tests to use existing client.py
  patterns (MagicMock session) instead of non-existent httpx fixtures.
  Removed mocker/http_mock/conftest fixtures that don't exist in this repo.
  12 tests now cover: timeout, connection error, 4xx/5xx errors, empty body,
  JSON-RPC envelope format, auth headers, direct→proxy fallback path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 18:18:10 +00:00
..
conftest.py fix(tests): add conftest.py + fix test_call_peer_errors.py broken imports 2026-04-23 18:18:10 +00:00
test_call_peer_errors.py fix(tests): add conftest.py + fix test_call_peer_errors.py broken imports 2026-04-23 18:18:10 +00:00
test_remote_agent.py fix(sdk): resolve KI-003 — log warning for skipped symlinks in _safe_extract_tar 2026-04-21 22:03:13 +00:00
test_retry_backoff.py feat(tests): GAP-05 add _get_with_retry() with 429 back-off + fix broken test_call_peer_errors (#11) 2026-04-21 07:08:01 +00:00
test_safe_extract.py fix(tests): add conftest.py + fix test_call_peer_errors.py broken imports 2026-04-23 18:18:10 +00:00
test_sdk.py fix(tests): add pytest-asyncio markers to async adaptor tests (#4) 2026-04-21 00:54:07 +00:00
test_sha256_verification.py fix(tests): add conftest.py + fix test_call_peer_errors.py broken imports 2026-04-23 18:18:10 +00:00
test_validators.py feat: initial Python SDK (extracted from molecule-monorepo/sdk/python) 2026-04-16 03:15:38 -07:00