Searched refs:popen (Results 1 – 5 of 5) sorted by relevance
/tools/test/connectivity/acts/framework/tests/ |
D | acts_job_test.py | 65 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/ |
D | ota_tools_test.py | 107 popen = mock.Mock() 108 popen.communicate.return_value = ("stdout", "stderr") 109 popen.returncode = return_value 110 popen.poll.return_value = return_value 111 return popen 116 popen = mock.Mock() 117 popen.communicate.side_effect = errors.FunctionTimeoutError( 119 popen.returncode = None 120 popen.poll.return_value = None 121 return popen
|
/tools/acloud/setup/ |
D | base_task_runner.py | 68 console_width = int(os.popen('stty size', 'r').read().split()[1])
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | b29_lib.py | 67 result = os.popen('ls -l /dev/serial/by-id/*%s*' % B29_CHIP).read()
|
D | apollo_lib.py | 106 result = os.popen('ls -l /dev/serial/by-id/*%s*' % APOLLO_CHIP).read()
|