Searched refs:CreateMock (Results 1 – 25 of 29) sorted by relevance
12
31 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)32 self._state = self._mox.CreateMock(global_state.GlobalState)33 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)34 self._modem_conf = self._mox.CreateMock(59 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)60 self._state = self._mox.CreateMock(global_state.GlobalState)61 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)62 self._modem_conf = self._mox.CreateMock(
57 self._mock_modem_channel = self._mox.CreateMock(at_channel.ATChannel)59 self._mock_mm_channel = self._mox.CreateMock(at_channel.ATChannel)61 self._mock_task_loop = self._mox.CreateMock(task_loop.TaskLoop)203 mock_test_machine = self._mox.CreateMock(self.TestMachine)226 mock_test_machine = self._mox.CreateMock(self.TestMachine)
26 self._callback_mocker = self._mox.CreateMock(TaskLoopTestCase)
49 self._mox_task_loop = self.mox.CreateMock(task_loop.TaskLoop)
36 self.afe = self.mox.CreateMock(frontend.AFE)37 self.tko = self.mox.CreateMock(frontend.TKO)195 record_entity = self.mox.CreateMock(callable)196 group = self.mox.CreateMock(host_spec.HostGroup)201 status = self.mox.CreateMock(job_status.Status)
63 self.afe = self.mox.CreateMock(frontend.AFE)64 self.tko = self.mox.CreateMock(frontend.TKO)68 self.getter = self.mox.CreateMock(control_file_getter.ControlFileGetter)390 recorder = self.mox.CreateMock(base_job.base_job)411 recorder = self.mox.CreateMock(base_job.base_job)433 recorder = self.mox.CreateMock(base_job.base_job)456 recorder = self.mox.CreateMock(base_job.base_job)476 recorder = self.mox.CreateMock(base_job.base_job)510 recorder = self.mox.CreateMock(base_job.base_job)537 recorder = self.mox.CreateMock(base_job.base_job)[all …]
38 'job': self.mox.CreateMock(base_job.base_job),146 spec = self.mox.CreateMock(dynamic_suite.SuiteSpec)149 spec.devserver = self.mox.CreateMock(dev_server.ImageServer)
32 self.afe = self.mox.CreateMock(frontend.AFE)33 self.tko = self.mox.CreateMock(frontend.TKO)
35 self.dev_server = self.mox.CreateMock(dev_server.ImageServer)
126 issue = self.mox.CreateMock(phapi_lib.Issue)356 issue = self.mox.CreateMock(gdata_lib.Issue)
24 self.afe = self.mox.CreateMock(frontend.AFE)31 mock = self.mox.CreateMock(frontend.Label)
29 self.afe = self.mox.CreateMock(frontend.AFE)32 self.mv = self.mox.CreateMock(manifest_versions.ManifestVersions)45 event = self.mox.CreateMock(klass)85 mocks.append(self.mox.CreateMock(frontend.Label))
76 self.sched = self.mox.CreateMock(deduping_scheduler.DedupingScheduler)
27 self.mv = self.mox.CreateMock(manifest_versions.ManifestVersions)
45 self.afe = self.mox.CreateMock(frontend.AFE)
88 credentials = self.mox.CreateMock(GoogleCredentials)102 credentials = self.mox.CreateMock(GoogleCredentials)122 credentials = self.mox.CreateMock(GoogleCredentials)
105 mock_process_1 = self.mox.CreateMock(subprocess.Popen)106 mock_process_2 = self.mox.CreateMock(subprocess.Popen)107 fake_stdout = self.mox.CreateMock(file)
25 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)26 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
39 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)40 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
1318 self.mox.CreateMock(TestClass)1322 mock_obj = self.mox.CreateMock(TestClass)1332 mock_obj = self.mox.CreateMock(TestClass)1340 mock_obj = self.mox.CreateMock(TestClass)1359 mock_obj = self.mox.CreateMock(TestClass)1371 mock_obj = self.mox.CreateMock(CallableClass)1381 mock_obj = self.mox.CreateMock(InheritsFromCallable)1391 mock_obj = self.mox.CreateMock("string is not callable")1396 mock_obj = self.mox.CreateMock(CallableClass)1403 mock_obj = self.mox.CreateMock(CallableClass)[all …]
37 self._mock_request_queue = self._mox.CreateMock(queue_class)62 mock_process = self._subprocess_mox.CreateMock(multiprocessing.Process)
164 def CreateMock(self, class_to_mock): member in Mox224 stub = self.CreateMock(attr_to_replace)
244 def CreateMock(self, class_to_mock, attrs=None, bounded_to=None): member in Mox329 stub = self.CreateMock(attr_to_replace, bounded_to=class_to_bind)877 instance = self._mox.CreateMock(self._class_to_mock)
74 self.afe = self.mox.CreateMock(frontend.AFE)
107 self.dli_ps = self.mox.CreateMock(dli.powerswitch)