async def METHOD_NAME():
    """
    Test that 'wait_until_ready' raises an error if the query has not been set running.
    """
    query = ASyncAPIQuery(connection=Mock(), parameters={"query_kind": "dummy_query"})
    with pytest.raises(FileNotFoundError):
        await query.wait_until_ready()