@test.create_stubs({api.lbaas: ('pool_list', 'member_list',
                                    'pool_health_monitor_list',
                                    'pool_get', 'vip_delete')})
    def test_delete_vip(self):
        self.set_up_expect()
        pool = self.pools.first()
        vip = self.vips.first()
        api.lbaas.pool_get(IsA(http.HttpRequest), pool.id).AndReturn(pool)
        api.lbaas.vip_delete(IsA(http.HttpRequest), vip.id)
        self.mox.ReplayAll()

        form_data = {"action": pool.id % "poolstable__deletevip__%s"}
        res = self.client.post(self.INDEX_URL, form_data)

        self.assertNoFormErrors(res)
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/project/loadbalancers/tests.py/LoadBalancerTests.test_delete_vip/swapped operands of `%`