Fixed failed tests on Kokoro (Spanner + Translate) (#1192) · mxmerce/python-docs-samples@eb22abb · GitHub
Skip to content

Commit eb22abb

Browse files
michaelawyuJon Wayne Parrott
authored andcommitted
Fixed failed tests on Kokoro (Spanner + Translate) (GoogleCloudPlatform#1192)
* Fixed failed tests on Kokoro (Spanner + Translate) * Update quickstart_test.py
1 parent ea085c9 commit eb22abb

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

spanner/cloud-client/quickstart_test.py

Lines changed: 2 additions & 4 deletions

spanner/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def query_data_with_index(
194194
ALTER TABLE Albums ADD COLUMN MarketingBudget INT64
195195
196196
"""
197-
from google.cloud.proto.spanner.v1 import type_pb2
197+
from google.cloud.spanner_v1.proto import type_pb2
198198

199199
spanner_client = spanner.Client()
200200
instance = spanner_client.instance(instance_id)

translate/cloud-client/snippets_test.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)