Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a02fa46

Browse filesBrowse files
gguussaverikitsch
authored andcommitted
Fix style in tests (GoogleCloudPlatform#2318)
1 parent 7f60075 commit a02fa46
Copy full SHA for a02fa46

File tree

Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed

‎vision/automl/edge_container_predict/automl_vision_edge_container_predict_test.py

Copy file name to clipboardExpand all lines: vision/automl/edge_container_predict/automl_vision_edge_container_predict_test.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@
3737

3838
# The absolute path of the current file. This will locate the model_path when
3939
# run docker containers.
40-
ROOT_DIR = os.environ.get('KOKORO_ROOT', os.path.abspath(os.path.dirname(__file__)))
40+
ROOT_DIR = os.environ.get(
41+
'KOKORO_ROOT', os.path.abspath(os.path.dirname(__file__)))
4142
MODEL_PATH = os.path.join(ROOT_DIR, 'model_path')
4243

4344
IMAGE_FILE_PATH = os.path.join(os.path.dirname(__file__), 'test.jpg')
4445
# The cpu docker gcs path is from 'Edge container tutorial'.
45-
CPU_DOCKER_GCS_PATH = 'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest'
46+
CPU_DOCKER_GCS_PATH = '{}'.format(
47+
'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest')
4648
# The path of a sample saved model.
47-
SAMPLE_SAVED_MODEL = 'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb'
49+
SAMPLE_SAVED_MODEL = '{}'.format(
50+
'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb')
4851
# Container Name.
4952
NAME = 'AutomlVisionEdgeContainerPredictTest'
5053
# Port Number.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.