diff --git a/tests/integration/test_calico.py b/tests/integration/test_calico.py
index b7118af..06f72c4 100644
--- a/tests/integration/test_calico.py
+++ b/tests/integration/test_calico.py
@@ -43,7 +43,8 @@ def get_image_platform():
 def get_installation_spec(registry, repo):
     return f"""
 # This section includes base Calico installation configuration.
-# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.Installation
+# For more information, see:
+# https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.Installation
 apiVersion: operator.tigera.io/v1
 kind: Installation
 metadata:
@@ -103,7 +104,6 @@ def get_imageset_spec(operator_version, calico_version):
             image, version, IMG_PLATFORM
         )
         sha256_digest = get_image_sha256_digest(rock.image)
-        prefix = rock.image.split("/")[1]
 
         # We're supposed to pass the original image names and new hashes.
         orig_image = image.replace("calico-tigera", "tigera/")