Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6424fbf

Browse filesBrowse files
andrewsgchenyumic
authored andcommitted
upgrade DLP version and fix tests (GoogleCloudPlatform#1784)
* upgrade DLP version and fix tests * bump dlp version again
1 parent 31a1393 commit 6424fbf
Copy full SHA for 6424fbf

File tree

Expand file treeCollapse file tree

2 files changed

+8
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-6
lines changed

‎dlp/deid_test.py

Copy file name to clipboardExpand all lines: dlp/deid_test.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def test_deidentify_with_mask(capsys):
5151

5252

5353
def test_deidentify_with_mask_ignore_insensitive_data(capsys):
54-
deid.deidentify_with_mask(GCLOUD_PROJECT, HARMLESS_STRING)
54+
deid.deidentify_with_mask(GCLOUD_PROJECT, HARMLESS_STRING,
55+
['US_SOCIAL_SECURITY_NUMBER'])
5556

5657
out, _ = capsys.readouterr()
5758
assert HARMLESS_STRING in out
@@ -110,6 +111,7 @@ def test_deidentify_with_fpe_ignores_insensitive_data(capsys):
110111
deid.deidentify_with_fpe(
111112
GCLOUD_PROJECT,
112113
HARMLESS_STRING,
114+
['US_SOCIAL_SECURITY_NUMBER'],
113115
alphabet='NUMERIC',
114116
wrapped_key=WRAPPED_KEY,
115117
key_name=KEY_NAME)

‎dlp/requirements.txt

Copy file name to clipboard
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
google-cloud-dlp==0.3.0
2-
google-cloud-storage==1.8.0
3-
google-cloud-pubsub==0.33.0
4-
google-cloud-datastore==1.6.0
5-
google-cloud-bigquery==0.31.0
1+
google-cloud-dlp==0.9.0
2+
google-cloud-storage==1.10.0
3+
google-cloud-pubsub==0.37.2
4+
google-cloud-datastore==1.7.0
5+
google-cloud-bigquery==1.5.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.