def test_sentiment_file(capsys): snippets.sentiment_file() out, _ = capsys.readouterr() assert 'Score: ' in out
def test_sentiment_file(capsys): snippets.sentiment_file(TEST_FILE_URL) out, _ = capsys.readouterr() assert 'Score: 0' in out