HcoopMeetbot.test

Module Contents

HcoopMeetbot.test.ID = 'id'
HcoopMeetbot.test.NICK = 'test'
HcoopMeetbot.test.CHANNEL = '#test'
HcoopMeetbot.test.NETWORK = 'test'
HcoopMeetbot.test.PREFIX = '@'
HcoopMeetbot.test.TIMESTAMP
class HcoopMeetbot.test.HcoopMeetbotTestCase(methodName='runTest')

Bases: supybot.test.ChannelPluginTestCase

Subclass this to write a test case for a plugin. See plugins/Plugin/test.py for an example.

plugins = ('HcoopMeetbot',)
test_context(privmsg, topic)

Test behavior of the Context object returned by the _context() function.

test_meetversion(uuid4, now, irc_message, outbound_message, meetversion) None

Test the meetversion command

test_listmeetings(uuid4, now, irc_message, outbound_message, listmeetings) None

Test the listmeetings command

test_savemeetings(uuid4, now, irc_message, outbound_message, savemeetings) None

Test the savemeetings command

test_addchair(uuid4, now, irc_message, outbound_message, addchair) None

Test the addchair command

test_deletemeeting_save(uuid4, now, irc_message, outbound_message, deletemeeting) None

Test the deletemeeting command,.save=True

test_deletemeeting_nosave(uuid4, now, irc_message, outbound_message, deletemeeting) None

Test the deletemeeting command,.save=False

test_recent(uuid4, now, irc_message, outbound_message, recent) None

Test the recent command

test_commands(uuid4, now, irc_message, outbound_message, commands) None

Test the commands command