Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove param to reduce latency (per docs) #2853

Merged
merged 4 commits into from
Feb 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dlp/inspect_content_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_inspect_gcs_file(bucket, topic_id, subscription_id, capsys):
"test.txt",
topic_id,
subscription_id,
["FIRST_NAME", "EMAIL_ADDRESS", "PHONE_NUMBER"],
["EMAIL_ADDRESS", "PHONE_NUMBER"],
timeout=420,
)

Expand Down Expand Up @@ -340,7 +340,7 @@ def test_inspect_gcs_file_no_results(
"harmless.txt",
topic_id,
subscription_id,
["FIRST_NAME", "EMAIL_ADDRESS", "PHONE_NUMBER"],
["EMAIL_ADDRESS", "PHONE_NUMBER"],
timeout=420,
)

Expand All @@ -356,7 +356,7 @@ def test_inspect_gcs_image_file(bucket, topic_id, subscription_id, capsys):
"test.png",
topic_id,
subscription_id,
["FIRST_NAME", "EMAIL_ADDRESS", "PHONE_NUMBER"],
["EMAIL_ADDRESS", "PHONE_NUMBER"],
)

out, _ = capsys.readouterr()
Expand All @@ -371,7 +371,7 @@ def test_inspect_gcs_multiple_files(bucket, topic_id, subscription_id, capsys):
"*",
topic_id,
subscription_id,
["FIRST_NAME", "EMAIL_ADDRESS", "PHONE_NUMBER"],
["EMAIL_ADDRESS", "PHONE_NUMBER"],
)

out, _ = capsys.readouterr()
Expand Down