summaryrefslogtreecommitdiff
path: root/tests/test_tts.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-12-30 19:09:49 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2014-12-30 19:17:15 +0100
commit7d80c7d7b6c983cd631986b3c74672389c8916d9 (patch)
treee9a7e66082f2603958d8e32fb86c13a8b7653eff /tests/test_tts.py
parent74b2639b574ecaf600798d234d93e2d807f63021 (diff)
downloadjasper-client-7d80c7d7b6c983cd631986b3c74672389c8916d9.tar.gz
jasper-client-7d80c7d7b6c983cd631986b3c74672389c8916d9.zip
Split unittests into separate files and move them to tests/
Diffstat (limited to 'tests/test_tts.py')
-rw-r--r--tests/test_tts.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_tts.py b/tests/test_tts.py
new file mode 100644
index 0000000..9894357
--- /dev/null
+++ b/tests/test_tts.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8-*-
+import unittest
+from client import tts
+
+
+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.')