Lines Matching refs:commands
16 # Stores commands called by the traffic control _Exec function.
17 commands = []
20 """Mocks traffic_control._Exec and adds the command to commands list."""
22 self.commands.append(' '.join(cmd_list))
26 """Resets the commands list and set the _Exec mock function."""
27 self.commands = []
58 self.assertEqual(expected, self.commands)
81 self.assertEqual(expected, self.commands)
104 self.assertEqual(expected, self.commands)
116 self.assertEqual(expected, self.commands)
122 self.assertEquals(self.commands, ['sudo tc filter list dev fakeeth parent '