Lines Matching refs:MagicMock
9 from mock import MagicMock, patch
131 cmd = MagicMock()
134 cmd.execute = MagicMock(side_effect=execute)
137 command.Command = MagicMock(side_effect=create_cmd)
143 os.chdir = MagicMock(side_effect=chdir)
145 subprocess.check_call = MagicMock()
146 platform.system = MagicMock(return_value='Linux')
428 platform.PreExecution = MagicMock(return_value=None)
429 platform.PostExecution = MagicMock(return_value=None)
430 platform.PreTests = MagicMock(return_value=None)
431 platform.Run = MagicMock(
433 run_perf.AndroidPlatform = MagicMock(return_value=platform)
435 MagicMock(return_value={'is_android': True})):