We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 104b4ef commit 0b1a10dCopy full SHA for 0b1a10d
language/snippets/cloud-client/v1/snippets_test.py
@@ -21,15 +21,15 @@
21
22
23
def test_sentiment_text(capsys):
24
- snippets.sentiment_text('President Obama is speaking at the White House.')
+ snippets.sentiment_text('No! God please, no!')
25
out, _ = capsys.readouterr()
26
- assert 'Score: 0.2' in out
+ assert 'Score: ' in out
27
28
29
def test_sentiment_file(capsys):
30
snippets.sentiment_file(TEST_FILE_URL)
31
32
33
34
35
def test_entities_text(capsys):
0 commit comments