def METHOD_NAME(qtbot_module, completion_receiver):
    completion, receiver = completion_receiver
    # Parameters to perform a textDocument/didOpen request
    params = {
        'file': 'test2.py',
        'language': 'python',
        'version': 2,
        'text': "# This is some text with some classe\nimport os\n\n",
        'response_instance': receiver,
        'offset': 1,
        'diff': '',
        'selection_start': 0,
        'selection_end': 0,
        'codeeditor': receiver,
        'requires_response': False
    }
    with qtbot_module.waitSignal(receiver.sig_response, timeout=30000) as blocker:
        completion.send_request(
            'python', CompletionRequestTypes.DOCUMENT_DID_OPEN, params)
    params = {
        'file': 'test2.py',
        'line': 1,
        'column': 8,
        'offset': 43,
        'diff': '',
        'response_instance': receiver,
        'codeeditor': receiver,
        'requires_response': True
    }
    with qtbot_module.waitSignal(receiver.sig_response, timeout=30000) as blocker:
        completion.send_request(
            'python', CompletionRequestTypes.DOCUMENT_HOVER, params)
    _, response = blocker.args
    assert len(response['params']) > 0