'Test adding items with the same JID without any nodes.'

def testDuplicateItems(self):

    iq = self.Iq()
    iq['disco_items'].add_item('user@localhost', name='First')
    iq['disco_items'].add_item('user@localhost', name='Second')
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#items">\n                                                        <item    jid="user@localhost"    name="First"    />\n                                                </query>\n                                        </iq>\n                                ')
