summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lazarev <alazarev@mirantis.com>2014-02-04 16:20:03 -0800
committerAndrew Lazarev <alazarev@mirantis.com>2014-02-04 16:20:03 -0800
commitd97975470459973ad2687fe1188494029c56b57a (patch)
tree073acbf76a6739256e8f4ff73ffd48c73adaf716
parent810857849ed32773c38df12785715f89d33e83af (diff)
downloadpython-novaclient-d97975470459973ad2687fe1188494029c56b57a.tar.gz
[UT] Fixed floating_ip_pools fake return to expected one
It seems that author wanted to return two pools. But because of typo, method now returns only one of them. Fixed typo to return two pools. Change-Id: Ia77a8529fd4db1b06860073ebf33bd54b43438cd
-rw-r--r--novaclient/tests/v1_1/fakes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/novaclient/tests/v1_1/fakes.py b/novaclient/tests/v1_1/fakes.py
index d00dd078..aa8f2414 100644
--- a/novaclient/tests/v1_1/fakes.py
+++ b/novaclient/tests/v1_1/fakes.py
@@ -824,7 +824,7 @@ class FakeHTTPClient(base_client.HTTPClient):
return (
200,
{},
- {'floating_ip_pools': [{'name': 'foo', 'name': 'bar'}]}
+ {'floating_ip_pools': [{'name': 'foo'}, {'name': 'bar'}]}
)
def get_os_floating_ips(self, **kw):