Begin implementation of Step 1. Implementation interrupted when I ran out of credits at openrouter. Credits added. Now trying to figure out how to restart the process...

This commit is contained in:
Jim Lancaster
2026-06-24 11:09:02 -05:00
parent bf23893477
commit 5165fa64bc
18 changed files with 592 additions and 108 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Tests for transcription.db — schema bootstrap and session factory."""
class TestSchemaBootstrap:
"""Verify create_all produces the expected table set."""
def test_create_all_creates_expected_tables(self):
"""After create_all(), document, job, and transcript tables exist."""
class TestSessionFactory:
"""Verify get_session yields and cleans up sessions."""
def test_get_session_yields_session(self):
"""get_session() yields a usable Session object."""
def test_session_is_closed_after_generator_exit(self):
"""After the context manager exits, the session is closed."""