Home
last modified time | relevance | path

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

/tools/treble/split/
Dmanifest_split_test.py171 def test_get_ninja_inputs(self, mock_check_output): argument
172 mock_check_output.return_value = b"""
183 def test_get_ninja_inputs_includes_test_mapping(self, mock_check_output): argument
184 mock_check_output.return_value = b"""
196 def test_get_kati_makefiles(self, mock_check_output): argument
222 mock_check_output.return_value = '\n'.join(makefiles).encode()
295 def test_create_split_manifest(self, mock_check_output): argument
372 mock_check_output.side_effect = [
487 def test_create_split_manifest_installed_prebuilt(self, mock_check_output): argument
559 mock_check_output.side_effect = [
/tools/asuite/atest/
Datest_utils_unittest.py538 def test_get_manifest_branch(self, mock_env, mock_check_output): argument
541 mock_check_output.return_value = REPO_INFO_OUTPUT
545 mock_check_output.return_value = 'not_matched_branch_pattern.'
549 mock_check_output.side_effect = subprocess.CalledProcessError(
555 mock_check_output.return_value = REPO_INFO_OUTPUT