8000 Fix style in tests (#2318) · hanv89/python-docs-samples@a02fa46 · GitHub
[go: up one dir, main page]

Skip to content

Commit a02fa46

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

vision/automl/edge_container_predict/automl_vision_edge_container_predict_test.py

Lines 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