Move render functions, layouts, helpers, and utils from __init__.py to sub-modules (renders.py, layouts.py, helpers.py, utils.py). Update all bp route imports to point at sub-modules directly. Each __init__.py is now ≤20 lines of setup + registration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
321 B
Python
14 lines
321 B
Python
"""Test service defpage setup."""
|
|
from __future__ import annotations
|
|
|
|
|
|
def setup_test_pages() -> None:
|
|
"""Load test page definitions."""
|
|
_load_test_page_files()
|
|
|
|
|
|
def _load_test_page_files() -> None:
|
|
import os
|
|
from shared.sx.pages import load_page_dir
|
|
load_page_dir(os.path.dirname(__file__), "test")
|