From fa124b14b7b0b725be212cb7b2f3f358cd8378d3 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 10 Sep 2004 06:32:42 +0000 Subject: [PATCH] Networked things appropriately. --- test/test_Geekquote.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/test/test_Geekquote.py b/test/test_Geekquote.py index f2613df11..e06de80e9 100644 --- a/test/test_Geekquote.py +++ b/test/test_Geekquote.py @@ -37,19 +37,18 @@ class GeekQuoteTestCase(ChannelPluginTestCase, PluginDocumentation): ChannelPluginTestCase.setUp(self) conf.supybot.plugins.Geekquote.geekSnarfer.setValue(False) - def testGeekquote(self): - self.assertNotError('geekquote') - self.assertNotError('geekquote 4848') - # It's not an error, it just truncates at the first non-number - #self.assertError('geekquote 48a8') - self.assertError('geekquote asdf') - - def testQdb(self): - self.assertNotError('qdb') - self.assertNotError('qdb 13600') - self.assertError('qdb qwerty') - if network: + def testGeekquote(self): + self.assertNotError('geekquote') + self.assertNotError('geekquote 4848') + # It's not an error, it just truncates at the first non-number + #self.assertError('geekquote 48a8') + self.assertError('geekquote asdf') + + def testQdb(self): + self.assertNotError('qdb') + self.assertNotError('qdb 13600') + self.assertError('qdb qwerty') def testSnarfer(self): try: