Searched refs:mock_isdir (Results 1 – 7 of 7) sorted by relevance
/tools/asuite/aidegen/vscode/ |
D | vscode_native_project_file_gen_unittest.py | 40 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/ |
D | native_module_info_unittest.py | 234 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
|
D | ide_util_unittest.py | 508 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
|
D | common_util_unittest.py | 156 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/ |
D | instance_test.py | 118 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/ |
D | test_finder_utils_unittest.py | 210 def test_is_equal_or_sub_dir(self, mock_isdir): argument 219 mock_isdir.return_value = False
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 213 def test_is_equal_or_sub_dir(self, mock_isdir): argument 222 mock_isdir.return_value = False
|