Skip to content
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