- Added subscription_service.py for managing subscriptions with functions to create, read, update, and delete subscriptions. - Added tenant_service.py for managing tenants with functions to create, read, update, delete tenants, and assign users to tenants. - Added user_service.py for managing users with functions to create, read, update, and delete users. - Created tests for business types, plans, subscriptions, tenants, and users, ensuring proper functionality and error handling. - Implemented pagination in user listing and included user profiles in responses. - Established fixtures for database setup and teardown in tests.
16 lines
507 B
Python
16 lines
507 B
Python
from app.routers.auth import router as auth_router
|
|
from app.routers.business_types import router as business_types_router
|
|
from app.routers.plans import router as plans_router
|
|
from app.routers.tenants import router as tenants_router
|
|
from app.routers.subscriptions import router as subscriptions_router
|
|
from app.routers.users import router as users_router
|
|
|
|
__all__ = [
|
|
"auth_router",
|
|
"business_types_router",
|
|
"plans_router",
|
|
"tenants_router",
|
|
"subscriptions_router",
|
|
"users_router",
|
|
]
|