def METHOD_NAME(
    domo_test_client: DomoTestClient,
    domo_erasure_identity_email: str,
) -> Generator:
    """
    Creates a dynamic test data record for erasure tests.
        1) create a new user
    """
    # 1) create a new user
    user_response = domo_test_client.create_user(domo_erasure_identity_email)
    user = user_response.json()
    user_id = user["id"]
    error_message = f"user with user id [{user_id}] could not be added to Domo"
    poll_for_existence(
        _user_exists,
        (user_id, domo_test_client),
        error_message=error_message,
    )
    yield user_id
    # delete the user
    user_response = domo_test_client.delete_user(user_id)
    # Returns a 204 response code when successful or error based on whether the user ID being valid.
    assert user_response.status_code == HTTP_204_NO_CONTENT