# Tests Integration tests for mcp-familywall. ## Prerequisites Tests require valid Family Wall credentials to run against the live API. Credentials are loaded from: 1. **OS Keyring** (recommended) — set via `mcp-familywall setup` 2. **Environment variables** — `FW_EMAIL` and `FW_PASSWORD` ## Running Tests ```bash uv run pytest tests/ ``` For verbose output: ```bash uv run pytest tests/ -v ``` ## Test Coverage - Circles management (create, list, update, delete, members) - Lists and tasks (CRUD operations) - Categories (system and custom) - Recipes and meal planning - Activity feed and reactions - Date validation and error handling ## Notes - Tests create temporary circles, lists, and tasks for verification - All test objects are cleaned up after execution - Do not run tests against production data — use test credentials only - Some tests are marked as skipped if premium features are unavailable