mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 17:44:09 +01:00
Changed the name of the Google plugin to GoogleTools.
This commit is contained in:
parent
f92d03e3a3
commit
aab016ddd1
@ -83,7 +83,7 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
|
|
||||||
|
|
||||||
example = utils.wrapLines("""
|
example = utils.wrapLines("""
|
||||||
<jemfinch> @list google
|
<jemfinch> @list googletools
|
||||||
<supybot> google, googlefight, googleinfo, googlelicensekey, googlesite, googlespell, metagoogle
|
<supybot> google, googlefight, googleinfo, googlelicensekey, googlesite, googlespell, metagoogle
|
||||||
<jemfinch> @google jemfinch
|
<jemfinch> @google jemfinch
|
||||||
<supybot> [Twisted-commits] Like, you know, a bugfix. jemfinch reported.: http://twistedmatrix.com/pipermail/twisted-commits/2002-August/002956.html :: Character Analysis of JemFinch NetEssays.NET - Thousands of FREE ...: http://www.netessays.net/viewpaper/1379.html :: SourceForge.net: Developer Profile: http://sourceforge.net/users/jemfinch/ (search took 0.174663 seconds)
|
<supybot> [Twisted-commits] Like, you know, a bugfix. jemfinch reported.: http://twistedmatrix.com/pipermail/twisted-commits/2002-August/002956.html :: Character Analysis of JemFinch NetEssays.NET - Thousands of FREE ...: http://www.netessays.net/viewpaper/1379.html :: SourceForge.net: Developer Profile: http://sourceforge.net/users/jemfinch/ (search took 0.174663 seconds)
|
||||||
@ -114,7 +114,7 @@ def search(*args, **kwargs):
|
|||||||
last24hours.dequeue()
|
last24hours.dequeue()
|
||||||
return data
|
return data
|
||||||
|
|
||||||
class Google(callbacks.PrivmsgCommandAndRegexp):
|
class GoogleTools(callbacks.PrivmsgCommandAndRegexp):
|
||||||
threaded = True
|
threaded = True
|
||||||
regexps = sets.Set(['googleSnarfer', 'googleGroups'])
|
regexps = sets.Set(['googleSnarfer', 'googleGroups'])
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -313,6 +313,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Class = Google
|
Class = GoogleTools
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
@ -31,8 +31,13 @@
|
|||||||
|
|
||||||
from test import *
|
from test import *
|
||||||
|
|
||||||
class GoogleTestCase(PluginTestCase, PluginDocumentation):
|
class GoogleToolsTestCase(PluginTestCase, PluginDocumentation):
|
||||||
plugins = ('Google',)
|
plugins = ('GoogleTools',)
|
||||||
|
def testGroupsSnarfer(self):
|
||||||
|
self.assertRegexp('http://groups.google.com/groups?dq=&hl=en&'
|
||||||
|
'lr=lang_en&ie=UTF-8&oe=UTF-8&selm=698f09f8.'
|
||||||
|
'0310132012.738e22fc%40posting.google.com',
|
||||||
|
r'comp\.lang\.python.*question: usage of __slots__')
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
Loading…
Reference in New Issue
Block a user