'Test adding multiple features at once to a disco#info stanza.'

def testAddBatchFeatures(self):

    iq = self.Iq()
    features = ['foo', 'bar', 'baz']
    iq['disco_info']['features'] = features
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#info">\n                                                        <feature    var="foo"    />\n                                                        <feature    var="bar"    />\n                                                        <feature    var="baz"    />\n                                                </query>\n                                        </iq>\n                                ')
