mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-06-27 16:10:34 +08:00
Merge pull request #79 from IndicoDataSolutions/Chris/fix-political-test
FIX: political unittest
This commit is contained in:
@@ -214,7 +214,7 @@ class FullAPIRun(unittest.TestCase):
|
||||
response = political(test_string)
|
||||
|
||||
self.assertTrue(isinstance(response, dict))
|
||||
assert response['Liberal'] > 0.25
|
||||
assert response['Libertarian'] > 0.25
|
||||
|
||||
def test_posneg(self):
|
||||
test_string = "Worst song ever."
|
||||
|
||||
Reference in New Issue
Block a user