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

def testRemoveAllFeatures(self):

    iq = self.Iq()
    iq['disco_info'].add_feature('foo')
    iq['disco_info'].add_feature('bar')
    iq['disco_info'].add_feature('baz')
    del iq['disco_info']['features']
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="http://jabber.org/protocol/disco#info"    />\n                                        </iq>\n                                ')
