@@ -169,6 +169,7 @@ def test_inspect_string(capsys):
169
169
assert 'Info type: FIRST_NAME' in out
170
170
assert 'Info type: EMAIL_ADDRESS' in out
171
171
172
+
172
173
def test_inspect_string_with_custom_info_types (capsys ):
173
174
test_string = 'My name is Gary Smith and my email is [email protected] '
174
175
dictionaries = ['Gary Smith' ]
@@ -212,6 +213,7 @@ def test_inspect_file(capsys):
212
213
out , _ = capsys .readouterr ()
213
214
assert 'Info type: EMAIL_ADDRESS' in out
214
215
216
+
215
217
def test_inspect_file_with_custom_info_types (capsys ):
216
218
test_filepath = os .path .join (RESOURCE_DIRECTORY , 'test.txt' )
217
219
dictionaries = [
'[email protected] ' ]
@@ -269,6 +271,7 @@ def test_inspect_gcs_file(bucket, topic_id, subscription_id, capsys):
269
271
out , _ = capsys .readouterr ()
270
272
assert 'Info type: EMAIL_ADDRESS' in out
271
273
274
+
272
275
@flaky
273
276
def test_inspect_gcs_file_with_custom_info_types (bucket , topic_id , subscription_id , capsys ):
274
277
dictionaries = [
'[email protected] ' ]
@@ -288,6 +291,7 @@ def test_inspect_gcs_file_with_custom_info_types(bucket, topic_id, subscription_
288
291
assert 'Info type: CUSTOM_DICTIONARY_0' in out
289
292
assert 'Info type: CUSTOM_REGEX_0' in out
290
293
294
+
291
295
@flaky
292
296
def test_inspect_gcs_file_no_results (
293
297
bucket , topic_id , subscription_id , capsys ):
0 commit comments