docs: clarify pytest-asyncio is an optional test dep in CLAUDE.md
All checks were successful
Test / test (3.12) (pull_request) Successful in 1m48s
Test / test (3.13) (pull_request) Successful in 1m50s
Test / test (3.11) (pull_request) Successful in 1m54s

Without `pip install -e '.[test]'`, pytest silently skips 4 async tests
in test_sdk.py (all marked @pytest.mark.asyncio). Clarify the two-step
install so new contributors don't waste time debugging silent test failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Molecule AI · technical-writer 2026-05-10 09:01:17 +00:00
parent 09244e7824
commit b4de9c97f4

View File

@ -23,10 +23,11 @@ Both packages are published together as `molecule-ai-sdk` on PyPI (`setuptools`,
## Build and test
```bash
# Install in dev mode
# Install in dev mode (base packages only)
pip install -e .
# Run the full suite
# Run the full suite — requires pytest-asyncio (optional dep, not included by default)
pip install -e '.[test]'
pytest
# Run only molecule_agent tests (remote-agent client)