From 17e555c83df4dd615574eebf8941e0b4debab1ef Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 19 Oct 2003 21:04:35 +0000 Subject: [PATCH] Changed the name back to Google. --- plugins/{GoogleTools.py => Google.py} | 4 ++-- test/{test_GoogleTools.py => test_Google.py} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename plugins/{GoogleTools.py => Google.py} (99%) rename test/{test_GoogleTools.py => test_Google.py} (95%) diff --git a/plugins/GoogleTools.py b/plugins/Google.py similarity index 99% rename from plugins/GoogleTools.py rename to plugins/Google.py index dadab51ea..47b1c36d5 100644 --- a/plugins/GoogleTools.py +++ b/plugins/Google.py @@ -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: diff --git a/test/test_GoogleTools.py b/test/test_Google.py similarity index 95% rename from test/test_GoogleTools.py rename to test/test_Google.py index 503b8925b..d54c78936 100644 --- a/test/test_GoogleTools.py +++ b/test/test_Google.py @@ -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.'