aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_backends_audiocpp.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-28 04:24:06 -0400
committerhistoria <historiavg@proton.me>2026-08-28 04:24:06 -0400
commit0dda9a5921eafd03853d233e077138ff72d64e4d (patch)
treecbe811a8b0fe81745577ab3d8bdf680d77ff19d2 /app/tests/test_backends_audiocpp.py
parent876a6eb3ba9974d0eadc1fd3f628dafdc56d8716 (diff)
downloadtts-audiobook-generator-0dda9a5921eafd03853d233e077138ff72d64e4d.tar.gz
feat: .wav hints for all voice directory pickers in tui
Diffstat (limited to 'app/tests/test_backends_audiocpp.py')
-rw-r--r--app/tests/test_backends_audiocpp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/tests/test_backends_audiocpp.py b/app/tests/test_backends_audiocpp.py
index 4a8ee5f..95f8bec 100644
--- a/app/tests/test_backends_audiocpp.py
+++ b/app/tests/test_backends_audiocpp.py
@@ -2713,6 +2713,10 @@ class WizardNavigationTests(unittest.TestCase):
by_key = {f["key"]: f for f in fields}
self.assertEqual(by_key["wav_dir"]["value"],
Path(recorded_voices))
+ # The directory browser alerts on the .wavs it lists.
+ self.assertIs(by_key["wav_dir"]["info"], common.wav_dir_info)
+ self.assertIs(by_key["wav_dir"]["preview"],
+ common.wav_dir_preview)
return {f["key"]: f["value"] for f in fields}
with patch.object(make_server.build, "find_local_checkout",