scrape calc results from google since ddg is broken

This commit is contained in:
paul
2017-05-28 00:42:44 -04:00
parent 7dc5ece29b
commit 7c67f09074
2 changed files with 43 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ class TestCalc(unittest.TestCase):
input = Mock(group=lambda x: '2^64')
c(self.phenny, input)
self.phenny.say.assert_called_once_with('1.84467440737096 * 10^19')
self.phenny.say.assert_called_once_with('1.84467441 × 10^19')
def test_c_none(self):
input = Mock(group=lambda x: 'aif')