def test_request_context_init_test(self):
    queue = Queue()
    message = JSONRPCMessage.from_dictionary({'id': '123', 'method': 'test/text/', 'params': {}})
    rc = RequestContext(message, queue)
    self.assertIs(rc._message, message)
    self.assertIs(rc._queue, queue)
def test_request_context_init_test(self):
    queue = Queue()
    message = JSONRPCMessage.from_dictionary({'id': '123', 'method': 'test/text/', 'params': {}})
    rc = RequestContext(message, queue)
    self.assertIs(rc._message, message)
    self.assertIs(rc._queue, queue)