Skip to content

Commit a06ce1b

Browse files
author
Jon Wayne Parrott
committed
Fix lint
Change-Id: I1771171bafb5c8f808133f5d910175d7e69d2fbc
1 parent 18e4057 commit a06ce1b

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

language/cloud-client/snippets_test.py

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,30 @@ def test_entities_file(cloud_config, capsys):
4747
def test_syntax_text(cloud_config, capsys):
4848
snippets.syntax_text('President Obama is speaking at the White House.')
4949
out, _ = capsys.readouterr()
50-
assert 'NOUN: President
51-
'NOUN: Obama'
52-
'VERB: is'
53-
'VERB: speaking'
54-
'ADP: at'
55-
'DET: the'
56-
'NOUN: White'
57-
'NOUN: House'
58-
'PUNCT: .' in out
50+
assert (
51+
'NOUN: President'
52+
'NOUN: Obama'
53+
'VERB: is'
54+
'VERB: speaking'
55+
'ADP: at'
56+
'DET: the'
57+
'NOUN: White'
58+
'NOUN: House'
59+
'PUNCT: .') in out
5960

6061

6162
def test_syntax_file(cloud_config, capsys):
6263
cloud_storage_input_uri = 'gs://{}/text.txt'.format(
6364
cloud_config.storage_bucket)
6465
snippets.syntax_file(cloud_storage_input_uri)
6566
out, _ = capsys.readouterr()
66-
assert 'NOUN: President
67-
'NOUN: Obama'
68-
'VERB: is'
69-
'VERB: speaking'
70-
'ADP: at'
71-
'DET: the'
72-
'NOUN: White'
73-
'NOUN: House'
74-
'PUNCT: .' in out
67+
assert (
68+
'NOUN: President'
69+
'NOUN: Obama'
70+
'VERB: is'
71+
'VERB: speaking'
72+
'ADP: at'
73+
'DET: the'
74+
'NOUN: White'
75+
'NOUN: House'
76+
'PUNCT: .') in out

0 commit comments

Comments
 (0)