mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Networked things appropriately.
This commit is contained in:
parent
5dbcf950a8
commit
fa124b14b7
@ -37,19 +37,18 @@ class GeekQuoteTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
ChannelPluginTestCase.setUp(self)
|
ChannelPluginTestCase.setUp(self)
|
||||||
conf.supybot.plugins.Geekquote.geekSnarfer.setValue(False)
|
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:
|
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):
|
def testSnarfer(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user