Python 3.4+ is now required

This commit is contained in:
mutantmonkey
2017-04-09 23:15:25 -07:00
parent 20cc193f46
commit 999297b316
3 changed files with 2 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ import unittest
from mock import MagicMock, Mock
from modules.search import duck_api, google_search, google_count, \
formatnumber, g, gc, gcs, bing_search, bing, duck_search, duck, \
search, suggest
search
class TestSearch(unittest.TestCase):
@@ -75,10 +75,3 @@ class TestSearch(unittest.TestCase):
duck(self.phenny, input)
assert self.phenny.reply.called is True
def test_suggest(self):
input = Mock(group=lambda x: 'vtluug')
suggest(self.phenny, input)
assert (self.phenny.reply.called is True or \
self.phenny.say.called is True)