From a2854da1b3e12987f7fa7590fca3bb74ac19c53e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 6 Oct 2022 11:40:23 +0200 Subject: Add a way to add other container engines Add engine adapter module to allow additon of other container engines, create one common EngineClient that would be called in all other modules. Based on patch by Konstantin Yarovoy Change-Id: Ice6467086bd292af086322afc3fc4e869d89eefa --- kolla/tests/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kolla/tests') diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py index c4c560c2f..a4784ba86 100644 --- a/kolla/tests/test_build.py +++ b/kolla/tests/test_build.py @@ -493,7 +493,7 @@ class KollaWorkerTest(base.TestCase): self.assertEqual(utils.Status.SKIPPED, kolla.images[2].parent.status) self.assertEqual(utils.Status.SKIPPED, kolla.images[1].parent.status) - @mock.patch.object(Image, 'in_docker_cache') + @mock.patch.object(Image, 'in_engine_cache') def test_skip_existing(self, mock_in_cache): mock_in_cache.side_effect = [True, False] self.conf.set_override('skip_existing', True) -- cgit v1.2.3