'The generated session id must be a unicode object.'

def test_streamStartUnicodeSessionID(self):

    xs = self.xmlstream
    xs.makeConnection(proto_helpers.StringTransport())
    xs.dataReceived("<stream:stream    xmlns='jabber:client'    xmlns:stream='http://etherx.jabber.org/streams'    from='example.org'    to='example.com'    id='12345'    version='1.0'>")
    self.assertIsInstance(xs.sid, unicode)
