From 0a71b92584bb8c48f7317ad488e67c1cffb921f1 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 26 Oct 2004 21:13:13 +0000 Subject: [PATCH] Removed a useless line and added a test that depends on that removed line. --- test/test.py | 1 - test/test_Config.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 915580838..a44e76d8a 100755 --- a/test/test.py +++ b/test/test.py @@ -54,7 +54,6 @@ supybot.log.format: %(levelname)s %(message)s supybot.log.plugins.individualLogfiles: False supybot.protocols.irc.throttleTime: 0 supybot.reply.whenAddressedBy.chars: @ -supybot.protocols.irc.throttleTime: -1 supybot.networks.test.server: should.not.need.this supybot.nick: test """) diff --git a/test/test_Config.py b/test/test_Config.py index 96cd5b88e..8b2255342 100644 --- a/test/test_Config.py +++ b/test/test_Config.py @@ -36,6 +36,7 @@ class ConfigTestCase(ChannelPluginTestCase): plugins = ('Config', 'Ebay') def testGet(self): self.assertNotRegexp('config get supybot.reply', r'registry\.Group') + self.assertResponse('config supybot.protocols.irc.throttleTime', '0.0') def testList(self): self.assertError('config list asldfkj')