Skip to content

Commit

Permalink
Fix for critical part of bug 929765.
Browse files Browse the repository at this point in the history
Change-Id: I6ca3b3bc674305011d2469ca1f417a435d030a98
  • Loading branch information
davidkranz committed Feb 9, 2012
1 parent c3be054 commit d870644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tempest/services/nova/json/floating_ips_client.py
Expand Up @@ -7,7 +7,7 @@ class FloatingIPsClient(object):
def __init__(self, config, username, key, auth_url, tenant_name=None):
self.config = config
self.client = rest_client.RestClient(config, username, key,
auth_url, tenant_name)
auth_url, 'nova', tenant_name)

def list_floating_ips(self, params=None):
"""Returns a list of all floating IPs filtered by any parameters"""
Expand Down
3 changes: 2 additions & 1 deletion tempest/tests/test_floating_ips_actions.py
Expand Up @@ -94,7 +94,8 @@ def test_associate_floating_ip(self):
self.assertEqual(202, resp.status)
#Disassociation of floating IP that was associated in this method
resp, body = \
self.client.disassociate_floating_ip_from_server(floating_ip_id)
self.client.disassociate_floating_ip_from_server(
self.floating_ip_id)

@attr(type='positive')
def test_dissociate_floating_ip(self):
Expand Down

0 comments on commit d870644

Please sign in to comment.