Follow the recent tempest change

Adapt to the recent tempest change. [1]

[1] I3879ae24e47590d12fb09a4bb4697f139f57caf7

Closes-Bug: #1593533
Change-Id: I85c3e8514cb1222622b029183f3d11f2c48ed9ce
(cherry picked from commit cd423e2684)
This commit is contained in:
YAMAMOTO Takashi 2016-06-17 12:11:49 +09:00 committed by Nate Johnston
parent cbe18b5de1
commit 8d1fa05693
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class TestFWaaS(base.FWaaSScenarioTest):
private_key = keys['private_key']
server_floating_ip = self.create_floating_ip(server, public_network_id)
fixed_ip = server['addresses'].values()[0][0]['addr']
floating_ip = server_floating_ip.floating_ip_address
floating_ip = server_floating_ip['floating_ip_address']
return fixed_ip, floating_ip, private_key, router
def _get_public_gateway_ip(self):