'Test removing items without nodes from a disco#items stanza.'

def testRemoveItemsNoNode(self):

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