mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
test(tags): remove test docstrings
This commit is contained in:
parent
acf8932fb8
commit
fda506362f
1 changed files with 0 additions and 16 deletions
|
|
@ -257,10 +257,6 @@ async def test_delete_tag():
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_new_tag_duplicate_returns_400_not_500():
|
||||
"""
|
||||
Regression test: new_tag() must preserve a 400 for a duplicate tag name
|
||||
instead of letting a bare `except Exception` downgrade it to 500.
|
||||
"""
|
||||
from unittest.mock import AsyncMock, Mock
|
||||
|
||||
from litellm.proxy.management_endpoints.tag_management_endpoints import new_tag
|
||||
|
|
@ -290,10 +286,6 @@ async def test_new_tag_duplicate_returns_400_not_500():
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_update_tag_missing_returns_404_not_500():
|
||||
"""
|
||||
Regression test: update_tag() must preserve a 404 for a missing tag
|
||||
instead of letting a bare `except Exception` downgrade it to 500.
|
||||
"""
|
||||
from unittest.mock import AsyncMock, Mock
|
||||
|
||||
from litellm.proxy.management_endpoints.tag_management_endpoints import (
|
||||
|
|
@ -322,10 +314,6 @@ async def test_update_tag_missing_returns_404_not_500():
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_info_tag_missing_returns_404_not_500():
|
||||
"""
|
||||
Regression test: info_tag() must preserve a 404 for missing tags
|
||||
instead of letting a bare `except Exception` downgrade it to 500.
|
||||
"""
|
||||
from unittest.mock import AsyncMock, Mock
|
||||
|
||||
from litellm.proxy.management_endpoints.tag_management_endpoints import info_tag
|
||||
|
|
@ -352,10 +340,6 @@ async def test_info_tag_missing_returns_404_not_500():
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_delete_tag_missing_returns_404_not_500():
|
||||
"""
|
||||
Regression test: delete_tag() must preserve a 404 for a missing tag
|
||||
instead of letting a bare `except Exception` downgrade it to 500.
|
||||
"""
|
||||
from unittest.mock import AsyncMock, Mock
|
||||
|
||||
from litellm.proxy.management_endpoints.tag_management_endpoints import (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue