Fixed test.

This commit is contained in:
Jeremy Fincher 2004-02-13 09:52:57 +00:00
parent 87f4d36d6f
commit 1d53c99f5b

View File

@ -36,7 +36,7 @@ import ircmsgs
class ParterTestCase(PluginTestCase, PluginDocumentation): class ParterTestCase(PluginTestCase, PluginDocumentation):
plugins = ('Parter',) plugins = ('Parter',)
def test(self): def test(self):
self.assertNotError('autopart #foo') self.assertNotError('config plugins.Parter.channels #foo')
self.irc.feedMsg(ircmsgs.join('#foo', prefix=self.prefix)) self.irc.feedMsg(ircmsgs.join('#foo', prefix=self.prefix))
m = self.getMsg(' ') m = self.getMsg(' ')
if m.command == 'WHO': if m.command == 'WHO':