We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42c85f commit 494bdf1Copy full SHA for 494bdf1
tests/conftest.py
@@ -14,8 +14,8 @@
14
docs_src_path = top_level_path / "docs_src"
15
16
17
-@pytest.fixture()
18
-def clear_sqlmodel():
+@pytest.fixture(autouse=True)
+def clear_sqlmodel() -> Any:
19
# Clear the tables in the metadata for the default base model
20
SQLModel.metadata.clear()
21
# Clear the Models associated with the registry, to avoid warnings
0 commit comments