diff --git a/beat/core/test/test_bcp.py b/beat/core/test/test_bcp.py
index 5fe5702e0749cf81f99715d2bb85e0711d71ccf2..10d398d0ef04ffbb141cf290ba1992fc10743457 100644
--- a/beat/core/test/test_bcp.py
+++ b/beat/core/test/test_bcp.py
@@ -322,7 +322,7 @@ class TestBCPDocker(TestBCP):
 
     @classmethod
     def setUpClass(cls):
-        cls.images_cache = os.path.join(tmp_prefix, "docker_images_cache.json")
+        cls.docker_images_cache = os.path.join(tmp_prefix, "docker_images_cache.json")
         cls.host = Host(images_cache=cls.docker_images_cache, raise_on_errors=False)