@timed(2)
    def test_subscribe_with_id_message(self):
        m = Main()
        m.tcp_connect()
        m.send_connect([('login', '1.test'), ('passcode', 'test')])
        m.get_frame()  # Connected frame

        subscribleId = str(uuid.uuid4())

        m.send_frame('SUBSCRIBE',
                     [('destination', config.TEST_TOPICS[0]), ('x-ebu-nofastreply', 'yes'), ('id', subscribleId)], '')

        msg = str(uuid.uuid4())

        m.send_frame('SEND', [('destination', config.TEST_TOPICS[0])], msg)

        (result, headers, body) = m.get_frame()
        eq_(result, 'MESSAGE')
        eq_(body, msg)
        eq_(get_header_value(headers, 'destination'), config.TEST_TOPICS[0])
        eq_(get_header_value(headers, 'subscription'), subscribleId)
Generates the oauth parameters needed for multipart/form requests
dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py/MainTests.test_subscribe_with_id_message--crossover with--dataset/ETHPy150Open tumblr/pytumblr/pytumblr/request.py/TumblrRequest.generate_oauth_params