diff options
author | Andrew Lazarev <alazarev@mirantis.com> | 2014-02-04 16:20:03 -0800 |
---|---|---|
committer | Andrew Lazarev <alazarev@mirantis.com> | 2014-02-04 16:20:03 -0800 |
commit | d97975470459973ad2687fe1188494029c56b57a (patch) | |
tree | 073acbf76a6739256e8f4ff73ffd48c73adaf716 | |
parent | 810857849ed32773c38df12785715f89d33e83af (diff) | |
download | python-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.py | 2 |
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): |