def METHOD_NAME(
    client,
    api_user_active,
    mock_send_verify_code,
):
    # TODO this lives here until we work out how to
    # reassign the session after it is lost mid register process
    with client.session_transaction() as session:
        session["user_details"] = {
            "email_address": api_user_active["email_address"],
            "id": api_user_active["id"],
        }
    response = client.get(url_for("main.verify"))
    assert response.status_code == 200
    page = BeautifulSoup(response.data.decode("utf-8"), "html.parser")
    assert page.h1.text == "Check your phone messages"
    message = page.find_all("p")[1].text
    assert message == "We’ve sent you a text message with a security code."