

def test_remove_floating_ip(self):
    ri = self._create_router(mock.MagicMock())
    device = mock.Mock()
    cidr = '15.1.2.3/32'
    ri.remove_floating_ip(device, cidr)
    device.delete_addr_and_conntrack_state.assert_called_once_with(cidr)

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/agent/l3/test_legacy_router.py TestBasicRouterOperations.test_remove_floating_ip/original