

@timed(2)
def test_cox_stomp_send_session(self):
    'Test if the connection to the stomp server send a session'
    m = Main()
    m.tcp_connect()
    m.send_connect({
        
    })
    (result, headers, body) = m.get_frame()
    for (name, value) in headers:
        if (name == 'session'):
            return
    raise Exception('No session')

dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py MainTests.test_cox_stomp_send_session/original