Files
MajoorWaldi-ComfyUI-Majoor-…/tests/test_routes_compat.py
T
MajoorWaldi 75261d636c Add comprehensive tests for SQLite facade, metadata extractors, and security helpers
- Introduced unit tests for SQLite facade helpers, including schema validation, query building, and async operations.
- Added integration tests for basic SQLite queries and transaction handling.
- Implemented additional tests for metadata extraction functions, focusing on dimension handling, EXIF data, and video metadata.
- Created tests for security core helpers, covering environment variable checks, IP validation, and CSRF protection.
- Included compatibility tests for route exports to ensure proper functionality.
2026-02-26 07:01:43 +01:00

8 lines
248 B
Python

def test_routes_compat_exports_smoke():
import mjr_am_backend.routes_compat as rc
assert callable(rc.register_routes)
assert rc.folder_paths is not None
assert rc.PromptServer is not None
assert "_normalize_path" in rc.__all__