'Test adding multiple copies of the same category
and type combination. Only the first identity should
be kept.'

def testDuplicateIdentities(self):

    iq = self.Iq()
    iq['disco_info'].add_identity('conference', 'text', name='Chatroom')
    iq['disco_info'].add_identity('conference', 'text', name='MUC')
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#info">\n                                                        <identity    category="conference"\n                                                                                                type="text"\n                                                                                                name="Chatroom"    />\n                                                </query>\n                                        </iq>\n                                ')
