def test_set_enable(self):
        vrid = 104
        enable_cases = [
            {'value': True},
            {'value': False},
            {'value': True},
            {'value': False},
        ]
        for dut in self.duts:
            interface = self._vlan_setup(dut)
            dut.config(['interface %s' % interface,
                        vrid % 'no vrrp %d',
                        'vrrp %d shutdown' % vrid,
                        'vrrp %d ip 10.10.10.2' % vrid,
                        'exit'])

            for enable in enable_cases:
                response = dut.api('vrrp').set_enable(
                    interface, vrid, **enable)
                self.assertIs(response, True)
dataset/ETHPy150Open arista-eosplus/pyeapi/test/system/test_api_vrrp.py/TestApiVrrp.test_set_enable/swapped operands of `%`