def METHOD_NAME(identity):
    count = len(identity.list_users().users)
    user = identity.create_user(
        display_name="Monty Python", email="monty@python.org", )
    try:
        assert user.display_name == "Monty Python"
        assert user.email == "monty@python.org"
        assert len(identity.list_users().users) == count + 1
        assert identity.get_user(name=user.name).display_name == "Monty Python"
    finally:
        identity.delete_user(name=user.name)