Lines Matching refs:FakeProcess
93 self._popen_mock.return_value = unittest_utils.FakeProcess(returncode=1)
110 self._popen_mock.return_value = unittest_utils.FakeProcess(stdout='[]')
140 self._popen_mock.return_value = unittest_utils.FakeProcess(
191 self._popen_mock.return_value = unittest_utils.FakeProcess(
247 self._popen_mock.return_value = unittest_utils.FakeProcess(
451 fake_process = unittest_utils.FakeProcess(stdout=json.dumps(results))
469 fake_process = unittest_utils.FakeProcess(stdout=json.dumps(results))
489 fake_process = unittest_utils.FakeProcess(stdout=json.dumps(results))
516 self._popen_mock.return_value = unittest_utils.FakeProcess(
525 def SideEffect(*_, **__) -> unittest_utils.FakeProcess:
528 return unittest_utils.FakeProcess(stdout=json.dumps([{'foo': 'bar'}]))
529 return unittest_utils.FakeProcess(stdout=json.dumps([{'bar': 'baz'}]))
542 self._popen_mock.return_value = unittest_utils.FakeProcess(returncode=1)
549 def SideEffect(*_, **__) -> unittest_utils.FakeProcess:
552 return unittest_utils.FakeProcess(
554 return unittest_utils.FakeProcess(stdout='[]')
564 self._popen_mock.return_value = unittest_utils.FakeProcess(