Skip to content

Commit

Permalink
Add blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdaub authored Jun 14, 2018
1 parent 019b5f7 commit 5258658
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dlp/inspect_content_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def test_inspect_string(capsys):
assert 'Info type: FIRST_NAME' in out
assert 'Info type: EMAIL_ADDRESS' in out


def test_inspect_string_with_custom_info_types(capsys):
test_string = 'My name is Gary Smith and my email is gary@example.com'
dictionaries = ['Gary Smith']
Expand Down Expand Up @@ -212,6 +213,7 @@ def test_inspect_file(capsys):
out, _ = capsys.readouterr()
assert 'Info type: EMAIL_ADDRESS' in out


def test_inspect_file_with_custom_info_types(capsys):
test_filepath = os.path.join(RESOURCE_DIRECTORY, 'test.txt')
dictionaries = ['gary@somedomain.com']
Expand Down Expand Up @@ -269,6 +271,7 @@ def test_inspect_gcs_file(bucket, topic_id, subscription_id, capsys):
out, _ = capsys.readouterr()
assert 'Info type: EMAIL_ADDRESS' in out


@flaky
def test_inspect_gcs_file_with_custom_info_types(bucket, topic_id, subscription_id, capsys):
dictionaries = ['gary@somedomain.com']
Expand All @@ -288,6 +291,7 @@ def test_inspect_gcs_file_with_custom_info_types(bucket, topic_id, subscription_
assert 'Info type: CUSTOM_DICTIONARY_0' in out
assert 'Info type: CUSTOM_REGEX_0' in out


@flaky
def test_inspect_gcs_file_no_results(
bucket, topic_id, subscription_id, capsys):
Expand Down

0 comments on commit 5258658

Please sign in to comment.