File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
vision/cloud-client/detect
resources/cloud-samples-data/vision/document Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1717
1818import backoff
1919from google .cloud import storage
20- import pytest
2120
2221import detect
2322
@@ -243,7 +242,6 @@ def test_detect_crop_hints_uri(capsys):
243242 assert 'bounds: ' in out
244243
245244
246- @pytest .mark .skip ("It's constantly failing." )
247245def test_async_detect_document (capsys ):
248246 storage_client = storage .Client ()
249247 bucket = storage_client .get_bucket (BUCKET )
@@ -253,7 +251,8 @@ def test_async_detect_document(capsys):
253251
254252 assert len (list (bucket .list_blobs (prefix = OUTPUT_PREFIX ))) == 0
255253
256- uri = 'gs://{}/vision/document/custom_0773375000.pdf' .format (ASSET_BUCKET )
254+ uri = 'gs://{}/vision/document/custom_0773375000_title_only.pdf' .format (
255+ ASSET_BUCKET )
257256 detect .async_detect_document (
258257 gcs_source_uri = uri ,
259258 gcs_destination_uri = GCS_DESTINATION_URI )
You can’t perform that action at this time.
0 commit comments