summaryrefslogtreecommitdiff
path: root/client/test.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-07-29 19:44:10 -0700
committerschneefux <schneefux+commit@schneefux.xyz>2014-07-29 19:44:10 -0700
commit577d630ad2110fbde73008c2ba96f38319024334 (patch)
tree8d231328bc461572e31572de3cf0a954199e9611 /client/test.py
parent526f86a138a2145c4342e76e2d7dd795f60013a7 (diff)
downloadjasper-client-577d630ad2110fbde73008c2ba96f38319024334.tar.gz
jasper-client-577d630ad2110fbde73008c2ba96f38319024334.zip
Addressed CR comments.
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)