diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-27 13:38:21 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-27 13:38:21 +0200 |
| commit | 16905e89b0e0d15f86df4cdf6536a396e06c49e6 (patch) | |
| tree | 759894d39e631f83e657e02f19dd25ff9db9768c /client/test.py | |
| parent | 9c99faa2a5b25eba9fbb27e344afab3d9f6f12b0 (diff) | |
| parent | 434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229 (diff) | |
| download | jasper-client-16905e89b0e0d15f86df4cdf6536a396e06c49e6.tar.gz jasper-client-16905e89b0e0d15f86df4cdf6536a396e06c49e6.zip | |
Merge pull request #155 from Holzhaus/new-speakers
Cleanup client.speaker and add additional tts speakers
Diffstat (limited to 'client/test.py')
| -rw-r--r-- | client/test.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/test.py b/client/test.py index ae6b594..9c99688 100644 --- a/client/test.py +++ b/client/test.py @@ -12,6 +12,7 @@ import vocabcompiler import g2p import brain import jasperpath +import tts from diagnose import Diagnostics DEFAULT_PROFILE = { @@ -189,6 +190,11 @@ class TestModules(unittest.TestCase): "can't see that far ahead" in outputs[0] or "Tomorrow" in outputs[0]) +class TestTTS(unittest.TestCase): + def testTTS(self): + tts_engine = tts.get_engine_by_slug('dummy-tts') + tts_instance = tts_engine() + tts_instance.say('This is a test.') class TestBrain(unittest.TestCase): @@ -236,7 +242,7 @@ if __name__ == '__main__': # Change CWD to jasperpath.LIB_PATH os.chdir(jasperpath.LIB_PATH) - test_cases = [TestBrain, TestModules, TestVocabCompiler] + test_cases = [TestBrain, TestModules, TestVocabCompiler, TestTTS] if not args.light: test_cases.append(TestG2P) test_cases.append(TestMic) |
