'Test removing all identities from a disco#info stanza.'

def testRemoveAllIdentitiesNoLang(self):

    iq = self.Iq()
    iq['disco_info'].add_identity('client', 'bot', name='Bot')
    iq['disco_info'].add_identity('client', 'bot', lang='no')
    iq['disco_info'].add_identity('client', 'console')
    del iq['disco_info']['identities']
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#info"    />\n                                        </iq>\n                                ')
