Commit 15ab5f4c authored by J. Fernando Sánchez's avatar J. Fernando Sánchez

Add Entity

parent 92189822
......@@ -327,6 +327,7 @@ for i in [
'emotionModel',
'emotionPlugin',
'emotionSet',
'entity',
'help',
'plugin',
'plugins',
......
......@@ -42,7 +42,7 @@ class Sentiment140Plugin(SentimentPlugin):
from requests.
'''
from senpy.test import patch_requests
expected = {"data": [{"polarity": 10}]}
expected = {"data": [{"polarity": 4}]}
with patch_requests(expected) as (request, response):
super(Sentiment140Plugin, self).test(*args, **kwargs)
assert request.called
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment