diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2017-04-08 11:17:30 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2017-04-11 02:10:26 -0500 |
| commit | e6ea45b2833fdd57a8011154aec5c1f6b00f44ca (patch) | |
| tree | c5b11b963ec22c5d58db8999c476f4c2abd70091 /openstackclient/tests/unit/compute | |
| parent | 4289ddd47a9c92eb3033eccf39966915caae05db (diff) | |
| download | python-openstackclient-e6ea45b2833fdd57a8011154aec5c1f6b00f44ca.tar.gz | |
Low-level Compute v2 API: floating ip
api.compute.APIv2 floating ip functions.
novaclient 8.0 is now released without support for the previously
deprecated nova-net functions, so include a new low-level REST
implementation of the removed APIs.
Change-Id: Ic461b8d15e072e0534dcd73fff6857581d83c89b
Diffstat (limited to 'openstackclient/tests/unit/compute')
| -rw-r--r-- | openstackclient/tests/unit/compute/v2/fakes.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openstackclient/tests/unit/compute/v2/fakes.py b/openstackclient/tests/unit/compute/v2/fakes.py index 05cb5076..90c2e1f9 100644 --- a/openstackclient/tests/unit/compute/v2/fakes.py +++ b/openstackclient/tests/unit/compute/v2/fakes.py @@ -1019,11 +1019,7 @@ class FakeFloatingIP(object): # Overwrite default attributes. floating_ip_attrs.update(attrs) - floating_ip = fakes.FakeResource( - info=copy.deepcopy(floating_ip_attrs), - loaded=True) - - return floating_ip + return floating_ip_attrs @staticmethod def create_floating_ips(attrs=None, count=2): |
