Searched refs:_MockPopen (Results 1 – 2 of 2) sorted by relevance
105 def _MockPopen(return_value): member in OtaToolsTest192 self._TestBuildSuperImage(mock_popen, self._MockPopen(return_value=0))205 mock_popen.return_value = self._MockPopen(return_value=0)275 self._MockPopen(return_value=0))281 self._MockPopen(return_value=1),
67 def _MockPopen(self, *_args, **_kwargs): member in GoldfishLocalImageLocalInstance102 mock_popen.side_effect = self._MockPopen