

def test_floating_ip_target_get_by_instance(self):
    self.mox.ReplayAll()
    instance_id = self.servers.first().id
    ret = api.network.floating_ip_target_get_by_instance(self.request, instance_id)
    self.assertEqual(instance_id, ret)

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/api_tests/network_tests.py NetworkApiNovaFloatingIpTests.test_floating_ip_target_get_by_instance/original