

@timed(2)
def test_unsubscribe_no_subscribed(self):
    "Test we cannot unsubscribe if we're not subscribed"
    m = Main()
    m.tcp_connect()
    m.send_connect([])
    m.get_frame()
    self.send_frame('UNSUBSCRIBE', [('destination', config.TEST_TOPICS[0])], '')
    (result, headers, body) = m.get_frame()
    eq_(result, 'ERROR')

dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py MainTests.test_unsubscribe_no_subscribed/VarMisuse@44/74 `m`->`self`