'Test that data is converted to base64'

def testConvertData(self):

    iq = Iq()
    iq['type'] = 'set'
    iq['ibb_data']['seq'] = 0
    iq['ibb_data']['data'] = 'sleekxmpp'
    self.check(iq, '\n                                        <iq    type="set">\n                                                <data    xmlns="http://jabber.org/protocol/ibb"    seq="0">c2xlZWt4bXBw</data>\n                                        </iq>\n                                ')
