chore(backend): organize test imports and update lockfile
- sort imports in test suite to satisty ruff I001 rules - sync uv.lock dependencies
This commit is contained in:
1 parent
856da792e0
commit
83dead536b
4 files changed
+1050
-8
No files matched your search
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
description = "Birthday Invitation RSVP Backend"
|
description = "Birthday Invitation RSVP Backend"
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi>=0.115.0",
|
"fastapi[standard]>=0.115.0",
|
||||||
"uvicorn>=0.30.0",
|
"uvicorn>=0.30.0",
|
||||||
"sqlalchemy>=2.0.0",
|
"sqlalchemy>=2.0.0",
|
||||||
"pydantic>=2.0.0",
|
"pydantic>=2.0.0",
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
from app.database import Base, get_db
|
||||||
|
from app.main import app
|
||||||
|
from app.services.config import seed_default_config
|
||||||
from fastapi.testclient import TestClient
|
from fastapi.testclient import TestClient
|
||||||
from sqlalchemy import create_engine
|
from sqlalchemy import create_engine
|
||||||
from sqlalchemy.orm import sessionmaker
|
from sqlalchemy.orm import sessionmaker
|
||||||
from sqlalchemy.pool import StaticPool
|
from sqlalchemy.pool import StaticPool
|
||||||
|
|
||||||
from app.database import Base, get_db
|
|
||||||
from app.main import app
|
|
||||||
from app.services.config import seed_default_config
|
|
||||||
|
|
||||||
# Shared in-memory SQLite for testing via StaticPool
|
# Shared in-memory SQLite for testing via StaticPool
|
||||||
engine = create_engine(
|
engine = create_engine(
|
||||||
"sqlite://",
|
"sqlite://",
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from app.services.rsvp import normalize_phone
|
from app.services.rsvp import normalize_phone
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Generated
+1046
-2
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user