- Replace 153 broad `except Exception` with specific types (SQLAlchemyError, TemplateError, OSError, SMTPException, ClientError, etc.) across 37 services - Break catalog↔inventory circular dependency (IMPORT-004) - Create 19 skeleton test files for MOD-024 coverage - Exclude aggregator services from MOD-024 (false positives) - Update test mocks to match narrowed exception types Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
606 B
Python
29 lines
606 B
Python
# app/modules/cms/services/__init__.py
|
|
"""
|
|
CMS module services.
|
|
|
|
This package contains all business logic for the CMS module.
|
|
"""
|
|
|
|
from app.modules.cms.services.content_page_service import (
|
|
ContentPageService,
|
|
content_page_service,
|
|
)
|
|
from app.modules.cms.services.media_service import (
|
|
MediaService,
|
|
media_service,
|
|
)
|
|
from app.modules.cms.services.store_theme_service import (
|
|
StoreThemeService,
|
|
store_theme_service,
|
|
)
|
|
|
|
__all__ = [
|
|
"ContentPageService",
|
|
"content_page_service",
|
|
"MediaService",
|
|
"media_service",
|
|
"StoreThemeService",
|
|
"store_theme_service",
|
|
]
|