Skip to content

Commit

Permalink
Remove param to reduce latency (per docs) (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
leahecole authored Feb 12, 2020
1 parent d25842f commit 4aa16fd
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 4aa16fd

Please sign in to comment.