def test_set_tracks(self):
        vrid = 104
        track_cases = [
            [
                {'name': 'Ethernet1', 'action': 'shutdown'},
                {'name': 'Ethernet2', 'action': 'decrement', 'amount': 10},
                {'name': 'Ethernet2', 'action': 'shutdown'},
            ],
            [
                {'name': 'Ethernet1', 'action': 'shutdown'},
            ],
            [
                {'name': 'Ethernet1', 'action': 'shutdown'},
                {'name': 'Ethernet2', 'action': 'decrement', 'amount': 20},
                {'name': 'Ethernet2', 'action': 'shutdown'},
            ],
            [
                {'name': 'Ethernet1', 'action': 'shutdown'},
            ],
            [],
        ]
        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 track_list in track_cases:
                response = dut.api('vrrp').set_tracks(
                    interface, vrid, track_list)
                self.assertIs(response, True)
dataset/ETHPy150Open arista-eosplus/pyeapi/test/system/test_api_vrrp.py/TestApiVrrp.test_set_tracks/original