summaryrefslogtreecommitdiff
path: root/nova/tests/functional/integrated_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/functional/integrated_helpers.py')
-rw-r--r--nova/tests/functional/integrated_helpers.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/nova/tests/functional/integrated_helpers.py b/nova/tests/functional/integrated_helpers.py
index 9592da5f25..7b01d547dd 100644
--- a/nova/tests/functional/integrated_helpers.py
+++ b/nova/tests/functional/integrated_helpers.py
@@ -168,10 +168,8 @@ class InstanceHelperMixin(object):
if action['action'] != action_name:
continue
- events = api.api_get(
- '/servers/%s/os-instance-actions/%s' % (
- server['id'], action['request_id'])
- ).body['instanceAction']['events']
+ events = api.get_instance_action_details(server['id'],
+ action['request_id'])['events']
# Look for the action event being in error state.
for event in events: