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

def testAddBatchIdentitiesNoLang(self):

    iq = self.Iq()
    identities = [('client', 'pc', 'no', 'PC    Client'), ('client', 'bot', None, 'Bot'), ('client', 'console', None, None)]
    iq['disco_info']['identities'] = identities
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#info">\n                                                        <identity    category="client"\n                                                                                                type="pc"\n                                                                                                xml:lang="no"\n                                                                                                name="PC    Client"    />\n                                                        <identity    category="client"    type="bot"    name="Bot"    />\n                                                        <identity    category="client"    type="console"    />\n                                                </query>\n                                        </iq>\n                                ')
