From 7d80c7d7b6c983cd631986b3c74672389c8916d9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 30 Dec 2014 19:09:49 +0100 Subject: Split unittests into separate files and move them to tests/ --- tests/test_tts.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test_tts.py (limited to 'tests/test_tts.py') 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.') -- cgit v1.3.1