mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
add back pytest fixture
This commit is contained in:
parent
e418076b35
commit
940810f526
1 changed files with 7 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue