

@raises(socket.timeout)
@timed(2)
def test_subscrible(self):
    'Test if the server accept a subscritpion'
    m = Main()
    m.tcp_connect()
    m.send_connect([])
    m.get_frame()
    m.send_frame('SUBSCRIBE', [('destination', config.TEST_TOPICS[0]), ('x-ebu-nofastreply', 'yes')], '')
    m.socket.settimeout(3)
    m.get_frame()

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