'Testing message/pubsub_event/configuration/config'

def testEventConfiguration(self):

    msg = self.Message()
    msg['pubsub_event']['configuration']['node'] = 'cheese'
    msg['pubsub_event']['configuration']['form'].addField('pubsub#title', ftype='text-single', value='This    thing    is    awesome')
    msg['type'] = 'headline'
    self.check(msg, '\n                                <message    type="headline">\n                                                <event    xmlns="http://jabber.org/protocol/pubsub#event">\n                                                        <configuration    node="cheese">\n                                                                <x    xmlns="jabber:x:data"    type="form">\n                                                                        <field    var="pubsub#title"    type="text-single">\n                                                                                <value>This    thing    is    awesome</value>\n                                                                        </field>\n                                                                </x>\n                                                        </configuration>\n                                                </event>\n                                        </message>')
