

def test_without_support_with_session(self):
    message = ConnectMessage(self.version, session=self.session)
    expected = {
        'msg': 'connect',
        'version': self.version,
        'support': [self.version],
        'session': self.session,
    }
    pod = self.serializer.serialize(message)
    self.assertEqual(pod, expected)

dataset/ETHPy150Open foxdog-studios/pyddp/tests/messages/client/test_connect_message_serializer.py ConnectMessageSerializerTestCase.test_without_support_with_session/original