def test_set_priority(self):
        vrid = 104
        priority_cases = [
            {'value': 200},
            {'default': True},
            {'value': 175},
            {'disable': True},
            {'value': 190}
        ]
        for dut in self.duts:
            interface = self._vlan_setup(dut)
            dut.config(['interface %s' % interface,
                        'no vrrp %d' % vrid,
                        'vrrp %d shutdown' % vrid,
                        'exit'])

            for priority in priority_cases:
                response = dut.api('vrrp').set_priority(
                    interface, vrid, **priority)
                self.assertIs(response, True)
dataset/ETHPy150Open arista-eosplus/pyeapi/test/system/test_api_vrrp.py/TestApiVrrp.test_set_priority/original