Lines Matching refs:mock_daisy2
82 mock_daisy2 = mock.Mock(spec=machine_manager.CrosMachine) variable in MachineManagerTest
100 self.mock_daisy2.name = 'daisy2'
106 self.mock_daisy2.machine_checksum = 'daisy12'
112 self.mock_daisy2.checksum_string = 'daisy_checksum_str'
118 self.mock_daisy2.cpuinfo = 'daisy_cpu_info'
120 self.mm._all_machines.append(self.mock_daisy2)
333 self.mock_daisy2.locked = False
334 self.mock_daisy2.checksum = 'fake_md5_checksum'
340 self.mock_daisy2.released_time = time.time()
387 [self.mock_daisy1, self.mock_daisy2, self.mock_lumpy3])
399 [self.mock_daisy1, self.mock_daisy2, self.mock_lumpy3])
407 self.mm._machines = [self.mock_lumpy1, self.mock_daisy2]
410 self.mock_daisy2.locked = True
417 self.assertTrue(self.mock_daisy2.locked)
418 self.mm.ReleaseMachine(self.mock_daisy2)
419 self.assertFalse(self.mock_daisy2.locked)
420 self.assertEqual(self.mock_daisy2.status, 'Available')
462 self.mock_daisy2
469 self.mock_daisy2.test_run = test_run
475 self.mock_daisy2.locked = True
481 self.mock_daisy2.checksum = '678'