Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(py): register test markers and capture upsert warning (#5347)
This PR: - closes #5310 - registers the existing `core` and `gemini` pytest markers - captures and asserts the expected `upsert()` deprecation warning while preserving parameter-forwarding assertions - resets the once-per-process warning flag with `monkeypatch` so the forwarding test passes independently and in either test order Reproduced all three reported warnings on current `next`: 91 tests passed with 3 warnings before the fix. Only test configuration and an existing test change; SDK runtime behavior and warning filters are unchanged. No changeset is needed. ## How Has This Been Tested? Python 3.14.6, pytest 9.2.0, with the Gemini provider and google-genai installed. From `python/`: ```bash python -m pytest tests/test_normalize_tool_arguments.py tests/test_gemini_provider.py tests/test_experimental_custom_toolkits.py tests/test_experimental_usage.py tests/test_sdk_logging.py tests/test_toolkit_deprecation.py --strict-markers -W error -q ``` 162 passed with zero warnings and no skips. Both `upsert()` tests also passed in reverse order with `--strict-markers -W error`. Ruff lint and format checks passed for the changed test; `git diff --check` passed. The full Python suite was not run locally; GitHub CI covers the broader suite.