From 924b57eca36b685fb565379c3a7ee72c44a3e395 Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 4 Oct 2009 23:22:52 -0400 Subject: [PATCH] ShrinkUrl: Lower snarfThrottle to .5 second while testing. Signed-off-by: James Vega --- plugins/ShrinkUrl/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/ShrinkUrl/test.py b/plugins/ShrinkUrl/test.py index a358f782d..7a0e4673f 100644 --- a/plugins/ShrinkUrl/test.py +++ b/plugins/ShrinkUrl/test.py @@ -51,7 +51,7 @@ class ShrinkUrlTestCase(ChannelPluginTestCase): def testTinysnarf(self): try: - conf.supybot.snarfThrottle.setValue(1) + conf.supybot.snarfThrottle.setValue(.5) conf.supybot.plugins.ShrinkUrl.default.setValue('tiny') conf.supybot.plugins.ShrinkUrl.shrinkSnarfer.setValue(True) self.assertSnarfRegexp( @@ -83,7 +83,7 @@ class ShrinkUrlTestCase(ChannelPluginTestCase): def testLnsnarf(self): try: - conf.supybot.snarfThrottle.setValue(1) + conf.supybot.snarfThrottle.setValue(.5) conf.supybot.plugins.ShrinkUrl.default.setValue('ln') conf.supybot.plugins.ShrinkUrl.shrinkSnarfer.setValue(True) self.assertSnarfRegexp( @@ -115,7 +115,7 @@ class ShrinkUrlTestCase(ChannelPluginTestCase): def testXrlsnarf(self): try: - conf.supybot.snarfThrottle.setValue(1) + conf.supybot.snarfThrottle.setValue(.5) conf.supybot.plugins.ShrinkUrl.default.setValue('xrl') conf.supybot.plugins.ShrinkUrl.shrinkSnarfer.setValue(True) self.assertSnarfRegexp( @@ -133,7 +133,7 @@ class ShrinkUrlTestCase(ChannelPluginTestCase): tiny = conf.supybot.plugins.ShrinkUrl.shrinkSnarfer() snarf = conf.supybot.plugins.ShrinkUrl.nonSnarfingRegexp() try: - conf.supybot.snarfThrottle.setValue(1) + conf.supybot.snarfThrottle.setValue(.5) conf.supybot.plugins.ShrinkUrl.default.setValue('tiny') conf.supybot.plugins.ShrinkUrl.nonSnarfingRegexp.set('m/sf/') conf.supybot.plugins.ShrinkUrl.minimumLength.setValue(10)