import requests


def _get_retry_test(host, id):
    """
    Retrieve the state of the Retry Test resource, including the unique id,
    instructions, and a boolean status "completed". This can be used to verify
    if all instructions were used as expected.
    """
    get_retry_test_uri = f"{host}/retry_test/{id}"
    r = requests.get(get_retry_test_uri)
    return r.json()