diff options
| author | Yuval Adam <_@yuv.al> | 2026-07-24 13:14:36 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2026-07-24 13:14:36 +0200 |
| commit | df780f6aa210f0916323dd3eb925d762dbb0769d (patch) | |
| tree | 6a23d3845a14c1b61052e47841b846058420650e /tests/test_transcription.py | |
| parent | f2197687e18eb129fcf25462943aa75972560579 (diff) | |
Modernize GLib and D-Bus integrations
Diffstat (limited to 'tests/test_transcription.py')
| -rw-r--r-- | tests/test_transcription.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/test_transcription.py b/tests/test_transcription.py index 916aac2..e79bb2b 100644 --- a/tests/test_transcription.py +++ b/tests/test_transcription.py @@ -6,11 +6,13 @@ from parley.transcription import parse_jsonl class ParseJsonlTests(unittest.TestCase): def test_skips_header_and_malformed_lines(self) -> None: - output = '\n'.join([ - 'runtime diagnostic', - '{"type":"batch_header","count":1}', - '{"file":"recording.wav","text":"hello world"}', - ]) + output = "\n".join( + [ + "runtime diagnostic", + '{"type":"batch_header","count":1}', + '{"file":"recording.wav","text":"hello world"}', + ] + ) self.assertEqual(parse_jsonl(output), "hello world") def test_reports_error_row(self) -> None: |
