Skip to content

Commit

Permalink
test_utils: Fix an error in retrieve_guests
Browse files Browse the repository at this point in the history
Before this change the ``retrieve_guests`` helper would return
the same instance object for both ``instance_1`` and
``instance_2``.
  • Loading branch information
fnordahl committed Feb 9, 2022
1 parent d3ab250 commit 4667c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zaza/openstack/charm_tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,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


Expand Down

0 comments on commit 4667c63

Please sign in to comment.