'Test owner modifying node affiliations.'

def testModifyAffiliations(self):

    self.xmpp['xep_0060'].modify_affiliations('pubsub.example.com', 'somenode', affiliations=[('user@example.com', 'publisher'), ('foo@example.net', 'none')], block=False)
    self.send('\n                                        <iq    type="set"    id="1"    to="pubsub.example.com">\n                                                <pubsub    xmlns="http://jabber.org/protocol/pubsub#owner">\n                                                        <affiliations    node="somenode">\n                                                                <affiliation    jid="user@example.com"    affiliation="publisher"    />\n                                                                <affiliation    jid="foo@example.net"    affiliation="none"    />\n                                                        </affiliations>\n                                                </pubsub>\n                                        </iq>\n                                ')
