test: add tests

This commit is contained in:
2023-11-09 16:33:51 +08:00
parent 14f4cef426
commit b14c3e82b4
8 changed files with 165 additions and 0 deletions

5
tests/db/db.py Normal file
View File

@ -0,0 +1,5 @@
from sqlalchemy import Engine, create_engine, inspect
def create_engine_in_memory():
return create_engine("sqlite:///:memory:")