mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Fix wrong return value in TestDeleteFloatingIPNetwork
delete_ip() should return None, not the fake floating IP. Change-Id: I1476189a09a94c76c90f9a3986e3ae57dc66d796
This commit is contained in:
parent
02e5b6f41d
commit
ab40add0c6
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class TestDeleteFloatingIPNetwork(TestFloatingIPNetwork):
|
|||
def setUp(self):
|
||||
super(TestDeleteFloatingIPNetwork, self).setUp()
|
||||
|
||||
self.network.delete_ip = mock.Mock(return_value=self.floating_ip)
|
||||
self.network.delete_ip = mock.Mock(return_value=None)
|
||||
self.network.find_ip = mock.Mock(return_value=self.floating_ip)
|
||||
|
||||
# Get the command object to test
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue