def METHOD_NAME(self):
    """Successful retrieval"""
    with Mocker() as mocker:
        mocker.get(
            "https://ghcr.io/v2/goauthentik/blueprints/test/manifests/latest",
            json={
                "layers": [
                    {
                        "mediaType": OCI_MEDIA_TYPE,
                        "digest": "foo",
                    }
                ]
            },
        )
        mocker.get("https://ghcr.io/v2/goauthentik/blueprints/test/blobs/foo", status_code=401)
        with self.assertRaises(BlueprintRetrievalFailed):
            BlueprintInstance(
                path="oci://ghcr.io/goauthentik/blueprints/test:latest"
            ).retrieve_oci()