{"agent":"claude","input":"Write pytest tests for the auth, main and api blueprints of this Flask app. Create tests/ with a conftest.py that builds the app through create_app with a TestConfig using an in-memory SQLite database, CSRF disabled and ELASTICSEARCH_URL set to None, plus client and database fixtures and a helper that logs in through /auth/login. Move the four unittest tests from tests.py into tests/test_models.py and delete tests.py. Cover registration, login, logout and the password reset request; posting, explore, follow and unfollow including the self-follow flash and the unknown-user redirect; and the token API: POST /api/users, POST and DELETE /api/tokens, the users, followers and following endpoints and the 403 on updating another user. Use the real test database, not mocks, record the outbox for mail instead of sending it, and leave the RQ, translation and Elasticsearch modules out of scope. Add pytest and pytest-cov to requirements-dev.txt, run python -m pytest --cov=app --cov-report=term-missing, and open a pull request with the coverage before and after.","resources":[{"url":"https://github.com/your-org/your-app"}]}