FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add speech sync JSON/REST system tests. by daspecster · Pull Request #2649 · googleapis/google-cloud-python · GitHub

Add speech sync JSON/REST system tests. - #2649

Closed
daspecster wants to merge 2 commits into
googleapis:masterfrom
daspecster:add-speech-sync-rest-system-tests
Closed

Add speech sync JSON/REST system tests.#2649
daspecster wants to merge 2 commits into
googleapis:masterfrom
daspecster:add-speech-sync-rest-system-tests

Conversation

daspecster commented Oct 31, 2016
edited
Loading

Copy link
Copy Markdown
Contributor

This adds the speech sync_recognize() JSON/REST system test.

Based from #2648

daspecster added testing api: speech Issues related to the Speech-to-Text API. labels Oct 31, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 31, 2016
daspecster mentioned this pull request Oct 31, 2016
14 tasks
Comment thread system_tests/speech.py Outdated

def setUpModule():
Config.CLIENT = speech.Client()
Config.CLIENT = speech.Client

This comment was marked as spam.

Comment thread system_tests/speech.py Outdated
max_alternatives=None):
client = Config.CLIENT
max_alternatives=None, use_gax=True):
client = Config.CLIENT(use_gax=use_gax)

This comment was marked as spam.

Comment thread system_tests/speech.py
results = self._make_sync_request(content=file_obj.read(),
max_alternatives=2,
use_gax=False)
second_alternative = results[1]

This comment was marked as spam.

Comment thread system_tests/speech.py
max_alternatives=2,
use_gax=False)
second_alternative = results[1]
self.assertEqual(len(results), 2)

This comment was marked as spam.

daspecster force-pushed the add-speech-sync-rest-system-tests branch 2 times, most recently from 600828f to 0fcd66b Compare October 31, 2016 17:26

Copy link
Copy Markdown
Contributor Author

I'm not sure how 63cb2fa got in here? I rebased master in...

daspecster force-pushed the add-speech-sync-rest-system-tests branch from 0fcd66b to 36843d4 Compare October 31, 2016 17:29

Copy link
Copy Markdown
Contributor Author

There we go!

Copy link
Copy Markdown
Contributor Author

Actually..this is pointless now since the switch to the env usage.

daspecster closed this Oct 31, 2016
daspecster deleted the add-speech-sync-rest-system-tests branch October 31, 2016 17:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL