def METHOD_NAME(self, admin_user: str):
    username = admin_user
    with ApiClient(Configuration(host=BASE_URL)) as api_client:
        auth = self.login(api_client, username=username)
        assert "sessionid" in api_client.cookies
        assert "csrftoken" in api_client.cookies
        assert auth.key
        (user, response) = api_client.users_api.retrieve_self()
        assert response.status == HTTPStatus.OK
        assert user.username == username