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.py74 mock_lumpy1 = mock.Mock(spec=machine_manager.CrosMachine) variable in MachineManagerTest
91 self.mock_lumpy1.name = 'lumpy1'
97 self.mock_lumpy1.machine_checksum = 'lumpy123'
103 self.mock_lumpy1.checksum_string = 'lumpy_checksum_str'
109 self.mock_lumpy1.cpuinfo = 'lumpy_cpu_info'
117 self.mm._all_machines.append(self.mock_lumpy1)
170 machine = self.mock_lumpy1
255 self.mm._TryToLockMachine(self.mock_lumpy1)
257 self.assertEqual(self.mm._machines[0], self.mock_lumpy1)
258 self.assertEqual(self.mock_lumpy1.checksum, 'false_lock_checksum')
[all …]