summaryrefslogtreecommitdiff
path: root/tests/test_tts.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-12-30 19:52:57 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2014-12-30 19:52:57 +0100
commitec3e900b05d07b228f68ed2ab42bfd545ac06b92 (patch)
tree1a9d93728f5edfaa049ddfad2639a3c5cdb64793 /tests/test_tts.py
parent74b2639b574ecaf600798d234d93e2d807f63021 (diff)
parent87262c75c3e645358e6587b64c8bd2adca9477b2 (diff)
downloadjasper-client-ec3e900b05d07b228f68ed2ab42bfd545ac06b92.tar.gz
jasper-client-ec3e900b05d07b228f68ed2ab42bfd545ac06b92.zip
Merge pull request #270 from Holzhaus/split-unittests
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.')