'Testing message/pubsub_event/purge'

def testEventPurge(self):

    msg = self.Message()
    msg['pubsub_event']['purge']['node'] = 'pickles'
    msg['type'] = 'headline'
    self.check(msg, '\n                                        <message    type="headline">\n                                                <event    xmlns="http://jabber.org/protocol/pubsub#event">\n                                                        <purge    node="pickles"    />\n                                                </event>\n                                        </message>')
