def METHOD_NAME(requests_mock):
    """
    Test simulates high load (2000-100)/2000=0.95 points of rate limit.
    """
    api_response = get_graphql_api_response(maximum_available=2000, currently_available=100)
    requests_mock.get("https://test.myshopify.com/", json=api_response)
    test_response = requests.get("https://test.myshopify.com/")
    actual_sleep_time = limiter.get_graphql_api_wait_time(test_response, threshold=TEST_THRESHOLD)
    assert limiter.on_high_load == actual_sleep_time