

@timed(2)
def test_cox_stomp_send_receipt_id(self):
    'Test if the connection to the stomp server send back receipt_id'
    m = Main()
    m.tcp_connect()
    tmpId = str(uuid.uuid4())
    m.send_connect([('receipt', name)])
    (result, headers, body) = m.get_frame()
    for (name, value) in headers:
        if (name == 'receipt-id'):
            eq_(value, tmpId)
            return
    raise Exception('No receipt-id')

dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py MainTests.test_cox_stomp_send_receipt_id/VarMisuse@49/91 `tmpId`->`name`