summaryrefslogtreecommitdiff
path: root/client/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/test.py')
-rw-r--r--client/test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/test.py b/client/test.py
index 69567bb..6186642 100644
--- a/client/test.py
+++ b/client/test.py
@@ -28,9 +28,7 @@ class TestMic(unittest.TestCase):
self.jasper_clip = "../static/audio/jasper.wav"
self.time_clip = "../static/audio/time.wav"
- from mic import Mic
from stt import PocketSphinxSTT
-
self.stt = PocketSphinxSTT()
def testTranscribeJasper(self):
@@ -41,7 +39,6 @@ class TestMic(unittest.TestCase):
def testTranscribe(self):
"""Does Jasper recognize 'time' (i.e., active listen)?"""
transcription = self.stt.transcribe(self.time_clip)
- print transcription
self.assertTrue("TIME" in transcription)