Skip to content

Commit

Permalink
use shared sample data bucket [(#1874)](GoogleCloudPlatform/python-do…
Browse files Browse the repository at this point in the history
  • Loading branch information
dizcology authored Nov 27, 2018
1 parent 29c973b commit 5828ef2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
PROJECT_ID = os.getenv('GCLOUD_PROJECT')
LOCATION = 'us-west1'

GCS_URI = 'gs://python-docs-samples-tests/product_search/product_sets.csv'
GCS_URI = 'gs://cloud-samples-data/vision/product_search/product_sets.csv'
PRODUCT_SET_DISPLAY_NAME = 'fake_product_set_display_name_for_testing'
PRODUCT_SET_ID = 'fake_product_set_id_for_testing'
PRODUCT_ID_1 = 'fake_product_id_for_testing_1'
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/product_search/product_search_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
PRODUCT_ID_2 = 'indexed_product_id_for_testing_2'

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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
PRODUCT_ID = 'fake_product_id_for_testing'

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


@pytest.fixture
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"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"
"gs://python-docs-samples-tests/product_search/shoes_2.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_2","apparel",,
"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"
"gs://cloud-samples-data/vision/product_search/shoes_2.jpg","indexed_product_set_id_for_testing","indexed_product_id_for_testing_2","apparel",,
4 changes: 2 additions & 2 deletions samples/snippets/product_search/resources/product_sets.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"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"
"gs://python-docs-samples-tests/product_search/shoes_2.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_2","apparel",,
"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"
"gs://cloud-samples-data/vision/product_search/shoes_2.jpg","fake_product_set_id_for_testing","fake_product_id_for_testing_2","apparel",,

0 comments on commit 5828ef2

Please sign in to comment.