def test_get_floating_ips_dvr(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    ri = self._create_router(router)
    fips = ri.get_floating_ips()
    self.assertEqual([{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}], fips)
def test_get_floating_ips_dvr(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    ri = self._create_router(router)
    fips = ri.get_floating_ips()
    self.assertEqual([{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}], fips)