add back pytest fixture

This commit is contained in:
Ishaan Jaff 2025-04-16 19:29:43 -07:00
parent e418076b35
commit 940810f526

View file

@ -32,6 +32,13 @@ class TestBedrockInvokeNovaJson(BaseLLMChatTest):
def test_tool_call_no_arguments(self, tool_call_no_arguments):
"""Test that tool calls with no arguments is translated correctly. Relevant issue: https://github.com/BerriAI/litellm/issues/6833"""
pass
@pytest.fixture(autouse=True)
def skip_non_json_tests(self, request):
if not "json" in request.function.__name__.lower():
pytest.skip(
f"Skipping non-JSON test: {request.function.__name__} does not contain 'json'"
)
def test_nova_invoke_remove_empty_system_messages():