'Test creating a node with a config'

def testCreateNodeConfig(self):

    form = self.xmpp['xep_0004'].stanza.Form()
    form['type'] = 'submit'
    form.add_field(var='pubsub#access_model', value='whitelist')
    self.xmpp['xep_0060'].create_node('pubsub.example.com', 'princely_musings', config=form, block=False)
    self.send('\n                                        <iq    type="set"    id="1"    to="pubsub.example.com">\n                                                <pubsub    xmlns="http://jabber.org/protocol/pubsub">\n                                                        <create    node="princely_musings"    />\n                                                        <configure>\n                                                                <x    xmlns="jabber:x:data"    type="submit">\n                                                                        <field    var="pubsub#access_model">\n                                                                                <value>whitelist</value>\n                                                                        </field>\n                                                                        <field    var="FORM_TYPE">\n                                                                                <value>http://jabber.org/protocol/pubsub#node_config</value>\n                                                                        </field>\n                                                                </x>\n                                                        </configure>\n                                                </pubsub>\n                                        </iq>\n                                ')
