'Test that deleting error conditions doesn\'t remove extra elements.'

def testDelCondition(self):

    msg = self.Message()
    msg['error']['text'] = 'Error!'
    msg['error']['condition'] = 'internal-server-error'
    del msg['error']['condition']
    self.check(msg, '\n                                        <message    type="error">\n                                                <error    type="wait"    code="500">\n                                                        <text    xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Error!</text>\n                                                </error>\n                                        </message>\n                                ', use_values=False)
