Skip to content

Commit e2d5a62

Browse files
committed
Merge branch 'master' into audio_profile
2 parents 7bc5b37 + 89b498f commit e2d5a62

File tree

14 files changed

+80
-20
lines changed

14 files changed

+80
-20
lines changed

.kokoro/presubmit_tests_dlp.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Download secrets from Cloud Storage.
4+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
5+
6+
# Tell the trampoline which build file to use.
7+
env_vars: {
8+
key: "TRAMPOLINE_BUILD_FILE"
9+
value: "github/python-docs-samples/.kokoro/system_tests.sh"
10+
}
11+
12+
env_vars: {
13+
key: "NOX_SESSION"
14+
value: "dlp and py36 and not appengine"
15+
}

.kokoro/presubmit_tests_tasks.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Download secrets from Cloud Storage.
4+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
5+
6+
# Tell the trampoline which build file to use.
7+
env_vars: {
8+
key: "TRAMPOLINE_BUILD_FILE"
9+
value: "github/python-docs-samples/.kokoro/system_tests.sh"
10+
}
11+
12+
env_vars: {
13+
key: "NOX_SESSION"
14+
value: "tasks and py36 and not appengine"
15+
}

.kokoro/system_tests_dlp.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Download secrets from Cloud Storage.
4+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
5+
6+
# Tell the trampoline which build file to use.
7+
env_vars: {
8+
key: "TRAMPOLINE_BUILD_FILE"
9+
value: "github/python-docs-samples/.kokoro/system_tests.sh"
10+
}
11+
12+
env_vars: {
13+
key: "NOX_SESSION"
14+
value: "dlp and py36 and not appengine"
15+
}

.kokoro/system_tests_tasks.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Download secrets from Cloud Storage.
4+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
5+
6+
# Tell the trampoline which build file to use.
7+
env_vars: {
8+
key: "TRAMPOLINE_BUILD_FILE"
9+
value: "github/python-docs-samples/.kokoro/system_tests.sh"
10+
}
11+
12+
env_vars: {
13+
key: "NOX_SESSION"
14+
value: "tasks and py36 and not appengine"
15+
}

appengine/standard/endpoints-frameworks-v2/echo/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323
# [END imports]
2424

2525

appengine/standard/endpoints-frameworks-v2/echo/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
import endpoints
16+
from endpoints import message_types
1617
import mock
17-
from protorpc import message_types
1818
import pytest
1919

2020
import main
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-endpoints==3.0.0
2-
google-endpoints-api-management==1.5.1
1+
google-endpoints==4.4.0
2+
google-endpoints-api-management==1.8.0

appengine/standard/endpoints-frameworks-v2/iata/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323

2424
from data import AIRPORTS
2525
# [END imports]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-endpoints==3.0.0
2-
google-endpoints-api-management==1.5.1
1+
google-endpoints==4.4.0
2+
google-endpoints-api-management==1.8.0

appengine/standard/endpoints-frameworks-v2/quickstart/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323
# [END imports]
2424

2525

appengine/standard/endpoints-frameworks-v2/quickstart/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from endpoints import message_types
1516
import mock
16-
from protorpc import message_types
1717

1818
import main
1919

texttospeech/cloud-client/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Google Cloud Text-to-Speech API Python Samples
77
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=/README.rst
88

99

10-
This directory contains samples for Google Cloud Text-to-Speech API. The `Google Cloud Text To Speech API`_ enables you to generate and customize synthesized speech from text or SSML.
10+
This directory contains samples for Google Cloud Text-to-Speech API. The `Google Cloud Text-to-Speech API`_ enables you to generate and customize synthesized speech from text or SSML.
1111

1212

1313

@@ -170,4 +170,4 @@ to `browse the source`_ and `report issues`_.
170170
https://github.com/GoogleCloudPlatform/google-cloud-python/issues
171171

172172

173-
.. _Google Cloud SDK: https://cloud.google.com/sdk/
173+
.. _Google Cloud SDK: https://cloud.google.com/sdk/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-cloud-texttospeech==0.2.0
1+
google-cloud-texttospeech==0.1.0

vision/cloud-client/detect/detect_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ def test_detect_web_with_geo(capsys):
222222
'resources/city.jpg')
223223
detect.web_entities_include_geo_results(file_name)
224224
out, _ = capsys.readouterr()
225-
assert 'Zepra' in out
225+
assert 'Zepra' in out or 'Electra Tower' in out
226226

227227

228228
def test_detect_web_with_geo_uri(capsys):
229229
file_name = 'gs://{}/vision/city.jpg'.format(BUCKET)
230230
detect.web_entities_include_geo_results_uri(file_name)
231231
out, _ = capsys.readouterr()
232-
assert 'Zepra' in out
232+
assert 'Zepra' in out or 'Electra Tower' in out
233233

234234

235235
def test_detect_document(capsys):

0 commit comments

Comments
 (0)