Home
last modified time | relevance | path

Searched refs:mock_glob (Results 1 – 6 of 6) sorted by relevance

/tools/asuite/aidegen/lib/
Dide_common_util_unittest.py76 def test_get_intellij_sh_none(self, mock_glob): argument
78 mock_glob.return_value = unittest_constants.IDEA_SH_FIND_NONE
92 def test_ask_preference(self, mock_glob, mock_input): argument
94 mock_glob.return_value = unittest_constants.IDEA_SH_FIND
Dide_util_unittest.py579 def test_eclipse_get_script_from_system(self, mock_glob, mock_file_access): argument
590 mock_glob.return_value = ['/a/b/eclipse']
598 mock_glob.return_value = []
605 mock_glob.return_value = ['/a/b/eclipse']
Dmodule_info_util_unittest.py323 def test_build_failed_handle(self, mock_glob, mock_input): argument
325 mock_glob.return_value = ['project/file.iml']
331 mock_glob.return_value = []
/tools/acloud/public/actions/
Dremote_host_cf_device_factory_test.py243 def testCreateInstanceWithRemoteImages(self, mock_pull, mock_glob, argument
252 mock_glob.glob.return_value = ["/mock/super.img"]
294 mock_glob, mock_cvd_utils, mock_ssh): argument
301 mock_glob.glob.return_value = ["/mock/fetch_cvd"]
341 mock_glob, mock_cvd_utils, argument
354 mock_glob.glob.return_value = ["/mock/fetch_cvd"]
398 def testCreateInstanceWithRemoteImageDir(self, _mock_pull, mock_glob, argument
408 mock_glob.glob.return_value = ["/mock/super.img"]
/tools/acloud/internal/lib/
Dcvd_utils_test.py92 def testUploadImageDir(self, mock_shell, mock_isdir, mock_glob): argument
115 mock_glob.glob.assert_called_once_with("local/dir/*.img")
120 mock_glob.glob.reset_mock()
129 mock_glob.glob.assert_called_once_with("local/dir/*.img")
134 mock_glob.glob.reset_mock()
137 mock_glob.glob.side_effect = (
144 self.assertGreater(mock_glob.glob.call_count, 2)
/tools/asuite/aidegen/sdk/
Dandroid_sdk_unittest.py152 def test_gen_platform_mapping(self, mock_glob, mock_parse_api_info): argument
154 mock_glob.return_value = ['/sdk/platforms/android-29/source.properties']