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 Jul 19, 2022
1 parent 3ab81b4 commit b248962
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 @@ -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


Expand Down

0 comments on commit b248962

Please sign in to comment.