aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-21 02:33:10 -0400
committerhistoria <historiavg@proton.me>2026-08-21 02:33:10 -0400
commite5c722e9fc67f20c1545f79bb4bbc0188dea7d1f (patch)
tree054d0d18013e844cbb323bc2e337c69cb82cb278
parentf7021704b6b26ee747558d9ad701c2b25baedd2a (diff)
downloadtts-audiobook-generator-e5c722e9fc67f20c1545f79bb4bbc0188dea7d1f.tar.gz
fix: remove duplicate tests
-rw-r--r--tests/test_tts.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_tts.py b/tests/test_tts.py
index 33834d2..bebbaf6 100644
--- a/tests/test_tts.py
+++ b/tests/test_tts.py
@@ -384,25 +384,6 @@ class FasterTTSClientGenerateTests(unittest.TestCase):
self.assertEqual(payload["voice"], "default")
self.assertEqual(payload["response_format"], "pcm")
-
-class FasterTTSClientGenerateTests(unittest.TestCase):
- """Faster chunk generation: full-length audio produces a chunk file."""
-
- def setUp(self):
- self._tmp = tempfile.TemporaryDirectory()
- self._chunks = patch.object(tts, "CHUNKS_FOLDER", Path(self._tmp.name))
- self._chunks.start()
-
- def tearDown(self):
- self._chunks.stop()
- self._tmp.cleanup()
-
- def _make_client(self):
- client = FasterTTSClient.__new__(FasterTTSClient)
- client.voice = "default"
- client.api_url = "http://127.0.0.1:8000"
- return client
-
def test_full_length_pcm_passes(self):
client = self._make_client()
text = " ".join(f"word{i}" for i in range(12))