fix typo on codebase

This commit is contained in:
Ishaan Jaff 2025-03-27 22:36:00 -07:00
parent fc46f6b861
commit 758182fc7f
6 changed files with 82 additions and 80 deletions

View file

@ -1509,7 +1509,7 @@ from litellm.proxy.utils import ProxyUpdateSpend
async def test_end_user_transactions_reset():
# Setup
mock_client = MagicMock()
mock_client.end_user_list_transactons = {"1": 10.0} # Bad log
mock_client.end_user_list_transactions = {"1": 10.0} # Bad log
mock_client.db.tx = AsyncMock(side_effect=Exception("DB Error"))
# Call function - should raise error
@ -1520,7 +1520,7 @@ async def test_end_user_transactions_reset():
# Verify cleanup happened
assert (
mock_client.end_user_list_transactons == {}
mock_client.end_user_list_transactions == {}
), "Transactions list should be empty after error"