diff options
| author | historia <historiavg@proton.me> | 2026-08-21 02:33:10 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-21 02:33:10 -0400 |
| commit | e5c722e9fc67f20c1545f79bb4bbc0188dea7d1f (patch) | |
| tree | 054d0d18013e844cbb323bc2e337c69cb82cb278 /tests/test_tts.py | |
| parent | f7021704b6b26ee747558d9ad701c2b25baedd2a (diff) | |
| download | tts-audiobook-generator-e5c722e9fc67f20c1545f79bb4bbc0188dea7d1f.tar.gz | |
fix: remove duplicate tests
Diffstat (limited to 'tests/test_tts.py')
| -rw-r--r-- | tests/test_tts.py | 19 |
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)) |
