Home
last modified time | relevance | path

Searched refs:mock_ota_tools (Results 1 – 2 of 2) sorted by relevance

/tools/acloud/create/
Dlocal_image_local_instance_test.py173 _mock_create_common, mock_ota_tools, _mock_utils): argument
182 mock_ota_tools.OtaTools.return_value = mock_ota_tools_object
201 mock_ota_tools.OtaTools.assert_called_with("/ota/tools/dir")
251 def testGetImageArtifactsPath(self, mock_ota_tools): argument
267 mock_ota_tools.FindOtaTools.assert_not_called()
271 def testGetImageFromBuildEnvironment(self, mock_ota_tools): argument
276 mock_ota_tools.FindOtaTools.return_value = cvd_dir
302 mock_ota_tools.FindOtaTools.assert_called_once()
308 def testGetImageFromTargetFiles(self, mock_ota_tools): argument
311 mock_ota_tools.FindOtaTools.return_value = ota_tools_dir
[all …]
Dgoldfish_local_image_local_instance_test.py308 def testCreateAVDWithMixedImages(self, mock_ota_tools, mock_popen, argument
311 mock_ota_tools.FindOtaTools.return_value = self._tool_dir
313 mock_ota_tools.OtaTools.return_value = mock_ota_tools_object
347 mock_ota_tools.FindOtaTools.assert_called_once()
348 mock_ota_tools.OtaTools.assert_called_with(self._tool_dir)
377 def testCreateAVDWithMixedImageDirs(self, mock_ota_tools, mock_popen, argument
380 mock_ota_tools.FindOtaTools.return_value = self._tool_dir
382 mock_ota_tools.OtaTools.return_value = mock_ota_tools_object
420 mock_ota_tools.FindOtaTools.assert_called_once()
421 mock_ota_tools.OtaTools.assert_called_with(self._tool_dir)