- 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.
8 lines
248 B
Python
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__
|