Skip to content

Commit 5828ef2

Browse files
authored
use shared sample data bucket [(#1874)](GoogleCloudPlatform/python-docs-samples#1874)
1 parent 29c973b commit 5828ef2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

samples/snippets/product_search/import_product_sets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
PROJECT_ID = os.getenv('GCLOUD_PROJECT')
2727
LOCATION = 'us-west1'
2828

29-
GCS_URI = 'gs://python-docs-samples-tests/product_search/product_sets.csv'
29+
GCS_URI = 'gs://cloud-samples-data/vision/product_search/product_sets.csv'
3030
PRODUCT_SET_DISPLAY_NAME = 'fake_product_set_display_name_for_testing'
3131
PRODUCT_SET_ID = 'fake_product_set_id_for_testing'
3232
PRODUCT_ID_1 = 'fake_product_id_for_testing_1'

samples/snippets/product_search/product_search_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
PRODUCT_ID_2 = 'indexed_product_id_for_testing_2'
2727

2828
FILE_PATH_1 = 'resources/shoes_1.jpg'
29-
IMAGE_URI_1 = 'gs://python-docs-samples-tests/product_search/shoes_1.jpg'
29+
IMAGE_URI_1 = 'gs://cloud-samples-data/vision/product_search/shoes_1.jpg'
3030
FILTER = 'style=womens'
3131

3232

samples/snippets/product_search/reference_image_management_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
PRODUCT_ID = 'fake_product_id_for_testing'
3030

3131
REFERENCE_IMAGE_ID = 'fake_reference_image_id_for_testing'
32-
GCS_URI = 'gs://python-docs-samples-tests/product_search/shoes_1.jpg'
32+
GCS_URI = 'gs://cloud-samples-data/vision/product_search/shoes_1.jpg'
3333

3434

3535
@pytest.fixture
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
"gs://python-docs-samples-tests/product_search/shoes_1.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_1","apparel","style=womens","0.1,0.1,0.9,0.1,0.9,0.9,0.1,0.9"
2-
"gs://python-docs-samples-tests/product_search/shoes_2.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_2","apparel",,
1+
"gs://cloud-samples-data/vision/product_search/shoes_1.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_1","apparel","style=womens","0.1,0.1,0.9,0.1,0.9,0.9,0.1,0.9"
2+
"gs://cloud-samples-data/vision/product_search/shoes_2.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_2","apparel",,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
"gs://python-docs-samples-tests/product_search/shoes_1.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_1","apparel","style=womens","0.1,0.1,0.9,0.1,0.9,0.9,0.1,0.9"
2-
"gs://python-docs-samples-tests/product_search/shoes_2.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_2","apparel",,
1+
"gs://cloud-samples-data/vision/product_search/shoes_1.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_1","apparel","style=womens","0.1,0.1,0.9,0.1,0.9,0.9,0.1,0.9"
2+
"gs://cloud-samples-data/vision/product_search/shoes_2.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_2","apparel",,

0 commit comments

Comments
 (0)