Home
last modified time | relevance | path

Searched refs:popen (Results 1 – 5 of 5) sorted by relevance

/tools/test/connectivity/acts/framework/tests/
Dacts_job_test.py65 def test_run_success(self, popen): argument
73 def test_run_stderr(self, popen): argument
83 def test_run_error(self, popen): argument
90 def test_run_with_ignored_error(self, popen): argument
98 def test_run_timeout(self, popen): argument
105 def test_run_no_shell(self, popen): argument
113 def test_job_env(self, popen): argument
117 popen.assert_called_once()
118 _, kwargs = popen.call_args
/tools/acloud/internal/lib/
Dota_tools_test.py108 popen = mock.Mock()
109 popen.communicate.return_value = ("stdout", "stderr")
110 popen.returncode = return_value
111 popen.poll.return_value = return_value
112 return popen
117 popen = mock.Mock()
118 popen.communicate.side_effect = errors.FunctionTimeoutError(
120 popen.returncode = None
121 popen.poll.return_value = None
122 return popen
/tools/acloud/setup/
Dbase_task_runner.py68 console_width = int(os.popen('stty size', 'r').read().split()[1])
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Db29_lib.py67 result = os.popen('ls -l /dev/serial/by-id/*%s*' % B29_CHIP).read()
Dapollo_lib.py106 result = os.popen('ls -l /dev/serial/by-id/*%s*' % APOLLO_CHIP).read()