Began **kwargs'ing tests (with getMsg).

This commit is contained in:
Jeremy Fincher 2004-01-01 19:46:29 +00:00
parent c0e219ecfb
commit 8366d740d5

View File

@ -51,6 +51,8 @@ import callbacks
import Owner import Owner
network = True
nicks = ['fatjim','scn','moshez','LordVan','MetaCosm','pythong','fishfart', nicks = ['fatjim','scn','moshez','LordVan','MetaCosm','pythong','fishfart',
'alb','d0rt','jemfinch','StyxAlso','fors','deltab','gd', 'alb','d0rt','jemfinch','StyxAlso','fors','deltab','gd',
'hellz_hunter','are_j|pub_comp','jason_','dreid','sayke_','winjer', 'hellz_hunter','are_j|pub_comp','jason_','dreid','sayke_','winjer',
@ -169,8 +171,8 @@ class PluginTestCase(unittest.TestCase):
print 'Response: %r' % response print 'Response: %r' % response
return response return response
def getMsg(self, query, timeout=None): def getMsg(self, query, **kwargs):
return self._feedMsg(query, timeout=timeout) return self._feedMsg(query, **kwargs)
def feedMsg(self, query, to=None, frm=None): def feedMsg(self, query, to=None, frm=None):
"""Just feeds it a message, that's all.""" """Just feeds it a message, that's all."""