Files
litellm/tests
Alexsander HamirandGitHub 9d7dea42d0 [Fix] - SensitiveDataMasker converts lists to string (#15420)
* fix: preserve lists in SensitiveDataMasker to prevent string conversion

Added 'list' to allowed primitive types in mask_dict() to prevent lists like
tags from being converted to string representations in API responses.

Before: {"tags": "['East US 2', 'production', 'test']"}
After:  {"tags": ["East US 2", "production", "test"]}

* add: unit test
2025-10-10 17:50:51 -07:00
..
2025-10-07 17:49:57 -07:00
2025-10-04 14:55:04 -07:00
2025-10-04 09:18:26 -07:00
2025-09-30 07:25:32 +09:00
2025-09-27 12:40:34 -07:00
2025-09-16 15:41:52 -07:00
2025-10-04 10:57:02 -07:00
2025-09-27 10:59:25 -07:00

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/test_litellm

This folder can only run mock tests.