@@ -169,6 +169,7 @@ def test_inspect_string(capsys):
169169 assert 'Info type: FIRST_NAME' in out
170170 assert 'Info type: EMAIL_ADDRESS' in out
171171
172+
172173def test_inspect_string_with_custom_info_types (capsys ):
173174 test_string = 'My name is Gary Smith and my email is [email protected] ' 174175 dictionaries = ['Gary Smith' ]
@@ -212,6 +213,7 @@ def test_inspect_file(capsys):
212213 out , _ = capsys .readouterr ()
213214 assert 'Info type: EMAIL_ADDRESS' in out
214215
216+
215217def test_inspect_file_with_custom_info_types (capsys ):
216218 test_filepath = os .path .join (RESOURCE_DIRECTORY , 'test.txt' )
217219 dictionaries = [
'[email protected] ' ]
@@ -269,6 +271,7 @@ def test_inspect_gcs_file(bucket, topic_id, subscription_id, capsys):
269271 out , _ = capsys .readouterr ()
270272 assert 'Info type: EMAIL_ADDRESS' in out
271273
274+
272275@flaky
273276def test_inspect_gcs_file_with_custom_info_types (bucket , topic_id , subscription_id , capsys ):
274277 dictionaries = [
'[email protected] ' ]
@@ -288,6 +291,7 @@ def test_inspect_gcs_file_with_custom_info_types(bucket, topic_id, subscription_
288291 assert 'Info type: CUSTOM_DICTIONARY_0' in out
289292 assert 'Info type: CUSTOM_REGEX_0' in out
290293
294+
291295@flaky
292296def test_inspect_gcs_file_no_results (
293297 bucket , topic_id , subscription_id , capsys ):
0 commit comments