def METHOD_NAME(self):
    username = "newuser"
    email = "123@456.com"
    with ApiClient(Configuration(host=BASE_URL)) as api_client:
        (user, response) = api_client.auth_api.create_register(
            models.RegisterSerializerExRequest(
                username=username, password1=USER_PASS, password2=USER_PASS, email=email
            )
        )
        assert response.status == HTTPStatus.CREATED
        assert user.username == username
    with make_api_client(username) as api_client:
        (user, response) = api_client.users_api.retrieve_self()
        assert response.status == HTTPStatus.OK
        assert user.username == username
        assert user.email == email