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 221ea3f commit 3a1cf62Copy full SHA for 3a1cf62
pyproject.toml
@@ -42,7 +42,7 @@ accel = [
42
"uvloop; sys_platform != 'win32' and implementation_name == 'cpython'",
43
"orjson",
44
]
45
-sqlite = ["aiosqlite (>=0.22.0,<1.0.0)"]
+sqlite = ["aiosqlite (>=0.16.0,<1.0.0)"]
46
asyncpg = ["asyncpg"]
47
aiomysql = ["aiomysql"]
48
asyncmy = ["asyncmy (>=0.2.8,<1.0.0); python_version < '4.0'"]
tests/test_table_name.py
@@ -36,3 +36,6 @@ async def test_glabal_name_generator(self):
36
37
async def test_custom_table_name_precedence(self):
38
self.assertEqual(CustomTable._meta.db_table, "my_custom_table")
39
+
40
+ async def _tearDownDB(self) -> None:
41
+ await Tortoise.get_connection("default").close()
0 commit comments