From 7caa8a0fd086ca91b1287590b3f9d3e120b304ba Mon Sep 17 00:00:00 2001 From: Filipe Ximenes Date: Thu, 12 Sep 2024 15:14:34 -0300 Subject: [PATCH] removes transaction marks from structured output tests --- tests/test_helpers/test_assistants.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_helpers/test_assistants.py b/tests/test_helpers/test_assistants.py index f928c63..edfacab 100644 --- a/tests/test_helpers/test_assistants.py +++ b/tests/test_helpers/test_assistants.py @@ -238,7 +238,6 @@ def tool_a(self, foo: str) -> str: ] -@pytest.mark.django_db(transaction=True) @pytest.mark.vcr def test_AIAssistant_pydantic_structured_output(): from pydantic import BaseModel @@ -265,7 +264,6 @@ class StructuredOutputAssistant(AIAssistant): assert result.is_student is False -@pytest.mark.django_db(transaction=True) @pytest.mark.vcr def test_AIAssistant_typeddict_structured_output(): class OutputSchema(TypedDict):