test updates

This commit is contained in:
John Lancaster
2026-06-28 15:18:31 -05:00
parent 83ee7b31e0
commit 593388ef3a
3 changed files with 25 additions and 8 deletions
+3 -2
View File
@@ -25,8 +25,9 @@ class TestPageRegistration:
*,
mount_path: str,
show_welcome_message: bool,
dark: bool,
) -> None:
calls.append(f"run_with:{mount_path}:{show_welcome_message}")
calls.append(f"run_with:{mount_path}:{show_welcome_message}:{dark}")
monkeypatch.setattr("transcription.ui.register_upload_page", _record_upload)
monkeypatch.setattr("transcription.ui.register_jobs_page", _record_jobs)
@@ -35,4 +36,4 @@ class TestPageRegistration:
app = FastAPI()
register_pages(app)
assert calls == ["upload", "jobs", "run_with:/ui:False"]
assert calls == ["upload", "jobs", "run_with:/ui:False:True"]