Merge "Fix finding router for scenario tests"
diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py
index 57b9bd0..383a28d 100644
--- a/tempest/scenario/manager.py
+++ b/tempest/scenario/manager.py
@@ -937,8 +937,8 @@
router_id = CONF.network.public_router_id
network_id = CONF.network.public_network_id
if router_id:
- result = client.show_router(router_id)
- return net_resources.AttributeDict(**result['router'])
+ resp, body = client.show_router(router_id)
+ return net_resources.AttributeDict(**body['router'])
elif network_id:
router = self._create_router(client, tenant_id)
router.set_gateway(network_id)