Skip to content

Commit

Permalink
removes transaction marks from structured output tests
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeximenes committed Sep 12, 2024
1 parent 83410a9 commit 7caa8a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_helpers/test_assistants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 7caa8a0

Please sign in to comment.