Skip to content

Commit 997178d

Browse files
authored
Merge pull request #3241 from daspecster/speech-add-result-index
Add docs for 'result_index' usage and a system test.
2 parents ddef81b + 3780c62 commit 997178d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google-cloud-speech/tests/system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def test_stream_recognize(self):
200200

201201
with open(AUDIO_FILE, 'rb') as file_obj:
202202
for results in self._make_streaming_request(file_obj):
203+
self.assertIsInstance(results.result_index, int)
203204
self._check_results(results.alternatives)
204205

205206
def test_stream_recognize_interim_results(self):

0 commit comments

Comments
 (0)