def test_floating_mangle_rules_no_fip_ns(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    ri = self._create_router(router)
    floating_ip = mock.Mock()
    fixed_ip = mock.Mock()
    internal_mark = mock.Mock()
    self.assertFalse(ri.floating_mangle_rules(floating_ip, fixed_ip, internal_mark))
def test_floating_mangle_rules_no_fip_ns(self):
    router = mock.MagicMock()
    router.get.return_value = [{'host': HOSTNAME}, {'host': mock.sentinel.otherhost}]
    ri = self._create_router(router)
    floating_ip = mock.Mock()
    fixed_ip = mock.Mock()
    internal_mark = mock.Mock()
    self.assertFalse(ri.floating_mangle_rules(floating_ip, fixed_ip, internal_mark))