mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-08-19 11:50:16 +08:00
FIX: political unittest
This commit is contained in:
@@ -214,7 +214,7 @@ class FullAPIRun(unittest.TestCase):
|
|||||||
response = political(test_string)
|
response = political(test_string)
|
||||||
|
|
||||||
self.assertTrue(isinstance(response, dict))
|
self.assertTrue(isinstance(response, dict))
|
||||||
assert response['Liberal'] > 0.25
|
assert response['Libertarian'] > 0.25
|
||||||
|
|
||||||
def test_posneg(self):
|
def test_posneg(self):
|
||||||
test_string = "Worst song ever."
|
test_string = "Worst song ever."
|
||||||
|
|||||||
Reference in New Issue
Block a user