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.py75 mock_lumpy1 = mock.Mock(spec=machine_manager.CrosMachine) variable in MachineManagerTest
93 self.mock_lumpy1.name = 'lumpy1'
99 self.mock_lumpy1.machine_checksum = 'lumpy123'
105 self.mock_lumpy1.checksum_string = 'lumpy_checksum_str'
111 self.mock_lumpy1.cpuinfo = 'lumpy_cpu_info'
119 self.mm._all_machines.append(self.mock_lumpy1)
172 machine = self.mock_lumpy1
257 self.mm._TryToLockMachine(self.mock_lumpy1)
259 self.assertEqual(self.mm._machines[0], self.mock_lumpy1)
260 self.assertEqual(self.mock_lumpy1.checksum, 'false_lock_checksum')
[all …]