Home
last modified time | relevance | path

Searched refs:mock_isdir (Results 1 – 7 of 7) sorted by relevance

/tools/asuite/aidegen/vscode/
Dvscode_native_project_file_gen_unittest.py40 def test_init(self, mock_isdir, mock_mkdir): argument
43 mock_isdir.return_value = True
47 mock_isdir.return_value = False
53 def test_create_c_cpp_properties_dict(self, mock_isfile, mock_isdir): argument
56 mock_isdir.return_value = True
/tools/asuite/aidegen/lib/
Dnative_module_info_unittest.py234 def test_is_include_need_build_return_true(self, mock_load, mock_isdir): argument
237 mock_isdir.return_value = False
245 def test_is_include_need_build_return_false(self, mock_load, mock_isdir): argument
251 mock_isdir.return_value = True
254 mock_isdir.return_value = True
Dide_util_unittest.py508 def test_studio_optional_config_apply(self, mock_isfile, mock_isdir, argument
516 self.assertFalse(mock_isdir.called)
521 mock_isdir.reset_mock()
526 self.assertFalse(mock_isdir.called)
530 mock_isdir.reset_mock()
533 mock_isdir.return_value = True
538 mock_isdir.reset_mock()
541 mock_isdir.return_value = False
Dcommon_util_unittest.py156 def test_check_module(self, mock_get, mock_isdir, mock_has_target, argument
174 mock_isdir.return_value = False
180 mock_isdir.return_value = True
/tools/acloud/list/
Dinstance_test.py118 mock_isdir, mock_listdir, mock_isfile): argument
135 mock_isdir.side_effect = lambda path: path == acloud_gf_temp_path
143 mock_isdir.assert_called_with(acloud_gf_temp_path)
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py210 def test_is_equal_or_sub_dir(self, mock_isdir): argument
219 mock_isdir.return_value = False
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py213 def test_is_equal_or_sub_dir(self, mock_isdir): argument
222 mock_isdir.return_value = False