Unify the export-llm-input and run-llm summary lines with build-db

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-17 22:38:37 +08:00
co-authored by Claude Opus 5
parent bc44d60d18
commit 3aa5c7a432
4 changed files with 20 additions and 13 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ class TestExportLlmInput(unittest.TestCase):
self.assertEqual(records, [
{"id": "song-1", "content": "hello lyrics\n"},
{"id": "song-2", "content": "umbrella lyrics\n"}])
self.assertIn("done: 2 songs exported", stderr)
self.assertIn("Done. 2 songs exported.", stderr)
def test_preserves_non_ascii_lyrics(self) -> None:
"""Test that non-ASCII lyrics are written verbatim."""
@@ -291,7 +291,7 @@ class TestExportLlmInput(unittest.TestCase):
self.__output)
self.assertEqual(
[x["id"] for x in records], ["song-1", "song-3"])
self.assertIn("done: 2 songs exported", stderr)
self.assertIn("Done. 2 songs exported.", stderr)
def test_extras_per_id_unknown_id_fails(self) -> None:
"""Test that a per-ID extras file naming a song the