From b248962f66f3fbe98f25f3e2da75c9c7017b2437 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Fri, 7 Jan 2022 07:29:47 +0100 Subject: [PATCH] test_utils: Fix an error in retrieve_guests Before this change the ``retrieve_guests`` helper would return the same instance object for both ``instance_1`` and ``instance_2``. --- zaza/openstack/charm_tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/test_utils.py b/zaza/openstack/charm_tests/test_utils.py index 7fa2261b1..b6a06fffa 100644 --- a/zaza/openstack/charm_tests/test_utils.py +++ b/zaza/openstack/charm_tests/test_utils.py @@ -855,7 +855,7 @@ def retrieve_guests(self): instance_1 = self.retrieve_guest( '{}-ins-1'.format(self.RESOURCE_PREFIX)) instance_2 = self.retrieve_guest( - '{}-ins-1'.format(self.RESOURCE_PREFIX)) + '{}-ins-2'.format(self.RESOURCE_PREFIX)) return instance_1, instance_2