def test_floating_forward_rules_no_fip_ns(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    fip = {'id': _uuid()}
    ri = self._create_router(router)
    self.assertFalse(ri.floating_forward_rules(fip))
def test_floating_forward_rules_no_fip_ns(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    fip = {'id': _uuid()}
    ri = self._create_router(router)
    self.assertFalse(ri.floating_forward_rules(fip))