'Tests the channel_session decorator detects no reply channel'

def test_channel_session_no_reply(self):

    message = Message({}, None, None)
    @channel_session
    @channel_session
    def inner(message):
        message.channel_session[u'num_ponies'] = (-1)
    with self.assertRaises(ValueError):
        inner(message)
