Changed the name back to Google.

This commit is contained in:
Jeremy Fincher 2003-10-19 21:04:35 +00:00
parent ccad26f792
commit 17e555c83d
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ def search(*args, **kwargs):
last24hours.dequeue()
return data
class GoogleTools(callbacks.PrivmsgCommandAndRegexp):
class Google(callbacks.PrivmsgCommandAndRegexp):
threaded = True
regexps = sets.Set(['googleSnarfer', 'googleGroups'])
def __init__(self):
@ -313,7 +313,7 @@ class GoogleTools(callbacks.PrivmsgCommandAndRegexp):
Class = GoogleTools
Class = Google
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:

View File

@ -31,8 +31,8 @@
from test import *
class GoogleToolsTestCase(PluginTestCase, PluginDocumentation):
plugins = ('GoogleTools',)
class GoogleTestCase(PluginTestCase, PluginDocumentation):
plugins = ('Google',)
def testGroupsSnarfer(self):
self.assertRegexp('http://groups.google.com/groups?dq=&hl=en&'
'lr=lang_en&ie=UTF-8&oe=UTF-8&selm=698f09f8.'