diff options
Diffstat (limited to 'tests/api/test_db.py')
-rw-r--r-- | tests/api/test_db.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/api/test_db.py b/tests/api/test_db.py index f53b90f..1405c23 100644 --- a/tests/api/test_db.py +++ b/tests/api/test_db.py @@ -1,10 +1,16 @@ from datetime import datetime, timedelta, timezone +import pytest +from conftest import DB +from sqlalchemy.exc import StatementError +from sqlalchemy.orm import ( + Mapped, + mapped_column, +) + import hircine.db as database import hircine.db.models as models import hircine.db.ops as ops -import pytest -from conftest import DB from hircine.db.models import ( Artist, Base, @@ -16,11 +22,6 @@ from hircine.db.models import ( Tag, TagNamespaces, ) -from sqlalchemy.exc import StatementError -from sqlalchemy.orm import ( - Mapped, - mapped_column, -) class Date(MixinID, Base): |