mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Changed the name back to Google.
This commit is contained in:
parent
ccad26f792
commit
17e555c83d
@ -114,7 +114,7 @@ def search(*args, **kwargs):
|
|||||||
last24hours.dequeue()
|
last24hours.dequeue()
|
||||||
return data
|
return data
|
||||||
|
|
||||||
class GoogleTools(callbacks.PrivmsgCommandAndRegexp):
|
class Google(callbacks.PrivmsgCommandAndRegexp):
|
||||||
threaded = True
|
threaded = True
|
||||||
regexps = sets.Set(['googleSnarfer', 'googleGroups'])
|
regexps = sets.Set(['googleSnarfer', 'googleGroups'])
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -313,7 +313,7 @@ class GoogleTools(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Class = GoogleTools
|
Class = Google
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
from test import *
|
from test import *
|
||||||
|
|
||||||
class GoogleToolsTestCase(PluginTestCase, PluginDocumentation):
|
class GoogleTestCase(PluginTestCase, PluginDocumentation):
|
||||||
plugins = ('GoogleTools',)
|
plugins = ('Google',)
|
||||||
def testGroupsSnarfer(self):
|
def testGroupsSnarfer(self):
|
||||||
self.assertRegexp('http://groups.google.com/groups?dq=&hl=en&'
|
self.assertRegexp('http://groups.google.com/groups?dq=&hl=en&'
|
||||||
'lr=lang_en&ie=UTF-8&oe=UTF-8&selm=698f09f8.'
|
'lr=lang_en&ie=UTF-8&oe=UTF-8&selm=698f09f8.'
|
Loading…
Reference in New Issue
Block a user