Home
last modified time | relevance | path

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

/tools/acloud/create/
Dlocal_image_local_instance_test.py246 mock_ota_tools, _mock_utils, mock_trust_certs): argument
266 mock_ota_tools.OtaTools.return_value = mock_ota_tools_object
288 mock_ota_tools.OtaTools.assert_called_with("/ota/tools/dir")
350 def testGetImageArtifactsPath(self, mock_ota_tools): argument
378 mock_ota_tools.FindOtaToolsDir.assert_not_called()
389 def testGetImageFromBuildEnvironment(self, mock_ota_tools): argument
394 mock_ota_tools.FindOtaToolsDir.return_value = cvd_dir
440 mock_ota_tools.FindOtaToolsDir.assert_called_with([cvd_dir, "/cvd"])
450 def testGetImageFromTargetFiles(self, mock_ota_tools): argument
453 mock_ota_tools.FindOtaToolsDir.return_value = ota_tools_dir
[all …]
Dgoldfish_local_image_local_instance_test.py345 def testCreateAVDWithMixedImages(self, mock_gf_utils, mock_ota_tools, argument
376 mock_ota_tools.FindOtaTools.assert_called_once_with([self._tool_dir])
380 None, mock_ota_tools.FindOtaTools.return_value)
402 def testCreateAVDWithBootImage(self, mock_gf_utils, mock_ota_tools, argument
429 mock_ota_tools.FindOtaTools.return_value)
449 def testCreateAVDWithKernelImages(self, mock_gf_utils, mock_ota_tools, argument
479 mock_ota_tools.FindOtaTools.assert_not_called()
498 def testCreateAVDWithMixedImageDirs(self, mock_gf_utils, mock_ota_tools, argument
537 mock_ota_tools.FindOtaTools.assert_called_once_with([
543 mock_ota_tools.FindOtaTools.return_value)
/tools/acloud/public/actions/
Dremote_host_gf_device_factory_test.py322 def testCreateInstanceWithLocalFiles(self, mock_gf_utils, mock_ota_tools): argument
357 mock_ota_tools.FindOtaToolsDir.assert_called_once()
359 mock_ota_tools.FindOtaToolsDir.call_args[0][0][0])