Files
transcription/tests/ui/test_pages_registration.py
T
2026-06-29 19:05:15 -05:00

19 lines
551 B
Python

"""Tests for UI page registration wiring."""
import pytest
@pytest.mark.integration
class TestPageRegistration:
"""Verify page registration and mounted UI routes."""
def test_ui_mount_serves_registered_pages(self, app_client):
"""Mounted UI routes respond successfully when the full app is created."""
_, client = app_client
upload_response = client.get("/ui/upload")
jobs_response = client.get("/ui/jobs")
assert upload_response.status_code == 200
assert jobs_response.status_code == 200