Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue.

This commit is contained in:
google-labs-jules[bot]
2025-06-20 12:49:05 +00:00
parent f464ab4b9a
commit 009b161bb7
68 changed files with 703 additions and 850 deletions

View File

@ -5,9 +5,10 @@ from typing import Any
from unittest.mock import patch
import pytest
from sqlmodel import create_engine
from sqlmodel import create_engine, SQLModel
from ...conftest import get_testing_print_function, needs_py310, PrintMock
from ...conftest import PrintMock, get_testing_print_function, needs_py310
# expected_calls is defined within the test_tutorial function in the original test
@ -34,7 +35,7 @@ def module_fixture(request: pytest.FixtureRequest, clear_sqlmodel: Any):
if hasattr(mod, "create_db_and_tables") and callable(mod.create_db_and_tables):
pass
elif hasattr(mod, "SQLModel") and hasattr(mod.SQLModel, "metadata"):
mod.SQLModel.metadata.create_all(mod.engine)
mod.SQLModel.metadata.create_all(mod.engine)
return mod