Home
last modified time | relevance | path

Searched refs:mock_lumpy1 (Results 1 – 1 of 1) sorted by relevance

/external/toolchain-utils/crosperf/
Dmachine_manager_unittest.py77 mock_lumpy1 = mock.Mock(spec=machine_manager.CrosMachine) variable in MachineManagerTest
95 self.mock_lumpy1.name = 'lumpy1'
101 self.mock_lumpy1.machine_checksum = 'lumpy123'
107 self.mock_lumpy1.checksum_string = 'lumpy_checksum_str'
113 self.mock_lumpy1.cpuinfo = 'lumpy_cpu_info'
121 self.mm._all_machines.append(self.mock_lumpy1)
174 machine = self.mock_lumpy1
256 self.mm._TryToLockMachine(self.mock_lumpy1)
258 self.assertEqual(self.mm._machines[0], self.mock_lumpy1)
259 self.assertEqual(self.mock_lumpy1.checksum, 'false_lock_checksum')
[all …]