Skip to content

Commit

Permalink
Fixing up speech fixture imports.
Browse files Browse the repository at this point in the history
Done via:

$ git grep -l 'unit_tests.speech._fixtures' |
> xargs sed -i s/'unit_tests.speech._fixtures'/'unit_tests._fixtures'/g
  • Loading branch information
dhermes committed Sep 26, 2016
1 parent 0441c22 commit f3cca34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions speech/unit_tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_sync_recognize_content_with_optional_parameters(self):
import base64
from google.cloud._helpers import _to_bytes
from google.cloud.speech.client import Encoding
from unit_tests.speech._fixtures import SYNC_RECOGNIZE_RESPONSE
from unit_tests._fixtures import SYNC_RECOGNIZE_RESPONSE

_AUDIO_CONTENT = _to_bytes('/9j/4QNURXhpZgAASUkq')
_B64_AUDIO_CONTENT = base64.b64encode(_AUDIO_CONTENT)
Expand Down Expand Up @@ -89,7 +89,7 @@ def test_sync_recognize_content_with_optional_parameters(self):

def test_sync_recognize_source_uri_without_optional_parameters(self):
from google.cloud.speech.client import Encoding
from unit_tests.speech._fixtures import SYNC_RECOGNIZE_RESPONSE
from unit_tests._fixtures import SYNC_RECOGNIZE_RESPONSE

RETURNED = SYNC_RECOGNIZE_RESPONSE
REQUEST = {
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_sync_recognize_without_samplerate(self):

def test_sync_recognize_with_empty_results(self):
from google.cloud.speech.client import Encoding
from unit_tests.speech._fixtures import SYNC_RECOGNIZE_EMPTY_RESPONSE
from unit_tests._fixtures import SYNC_RECOGNIZE_EMPTY_RESPONSE

credentials = _Credentials()
client = self._makeOne(credentials=credentials)
Expand Down

0 comments on commit f3cca34

Please sign in to comment.