

@nottest
def test_bogus_frame(self, frame):
    'Generic function to test if the stomp client is able to handle a bogus frame'
    m = Main()
    m.tcp_connect()
    frame.send_connect({
        
    })
    m.get_frame()
    m.socket.send(frame)
    tmpId = str(uuid.uuid4())
    m.send_frame('_TEST_NOCOMMAND', [('receipt', tmpId)], '')
    (result, headers, body) = m.get_frame()
    eq_(result, 'RECEIPT')

dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py MainTests.test_bogus_frame/VarMisuse@29/67 `m`->`frame`