mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-10-03 12:00:44 +08:00
Merge pull request #79 from IndicoDataSolutions/Chris/fix-political-test
FIX: political unittest
This commit is contained in:
commit
08d825a004
1 file changed
+1
-1
@@ -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