litellm/tests/test_litellm/integrations/mavvrik
Praveen Ghuge fee9c1023c fix(mavvrik): replace real-network e2e test with mock-based integration tests
BerriAI rule: tests/test_litellm/ must contain only mock-based tests.
The previous test_e2e_upload.py hit the live Mavvrik API.

Replaced with fully mock-based integration tests covering:
  - Client: register, advance_marker, get_signed_url, report_error
  - Uploader: upload bulk path, empty payload skip, idempotency
  - Full pipeline: register → upload → advance in sequence

No credentials required, always runs in CI. 164 tests passing.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-25 22:06:00 +05:30
..
__init__.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
conftest.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_e2e_upload.py fix(mavvrik): replace real-network e2e test with mock-based integration tests 2026-04-25 22:06:00 +05:30
test_endpoints.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_http.py fix(mavvrik): use get_async_httpx_client instead of httpx.AsyncClient per request 2026-04-24 17:00:50 +05:30
test_logger.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_scheduler.py fix(mavvrik): address new P1 issues from Greptile review 2026-04-24 17:26:35 +05:30
test_service.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_settings.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_transform.py fix(mavvrik): address new P1 issues from Greptile review 2026-04-24 17:26:35 +05:30
test_upload.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30
test_uploader.py feat(mavvrik): add Mavvrik integration for automatic LLM spend export (#12) 2026-04-24 16:43:05 +05:30