

@raises(socket.timeout)
@timed(2)
def test_send_message_auth(self):
    'Test if the server accept a send on a good topic, authentified'
    m = Main()
    m.tcp_connect()
    m.send_connect([('login', '1.test'), ('passcode', 'test')])
    m.get_frame()
    m.send_frame('SEND', [('destination', config.TEST_TOPICS[0])], 'TEST')
    m.socket.settimeout(3)
    m.get_frame()

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