'Test retrieving a users\'s affiliations for a given node.'

def testGetAffiliatinssForNode(self):

    self.xmpp['xep_0060'].get_affiliations('pubsub.example.com', node='somenode', block=False)
    self.send('\n                                        <iq    type="get"    id="1"    to="pubsub.example.com">\n                                                <pubsub    xmlns="http://jabber.org/protocol/pubsub">\n                                                        <affiliations    node="somenode"    />\n                                                </pubsub>\n                                        </iq>\n                                ')
