Searched refs:mock_popen (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/scripts/tests/twister/ |
D | test_environment.py | 530 def mock_popen(command, *args, **kwargs): function 542 mock.patch('subprocess.Popen', mock.Mock(side_effect=mock_popen)), \
|
D | test_handlers.py | 570 def mock_popen(command, *args, **kwargs,): function 594 popen_mock = mock.Mock(side_effect=mock_popen) 1219 def mock_popen(command, *args, **kwargs): function 1228 popen_mock = mock.Mock(side_effect=mock_popen) 1311 def mock_popen(command, *args, **kwargs): function 1362 mock.patch('subprocess.Popen', side_effect=mock_popen), \ 1990 def mock_popen(command, stdout=None, stdin=None, stderr=None, cwd=None): function 2026 with mock.patch('subprocess.Popen', side_effect=mock_popen), \
|
D | test_runner.py | 295 def mock_popen(*args, **kwargs): function 304 popen=mock.Mock(side_effect=mock_popen) 321 popen_mock = mock.Mock(side_effect=mock_popen) 425 def mock_popen(*args, **kwargs): function 435 popen=mock.Mock(side_effect=mock_popen) 461 popen_mock = mock.Mock(side_effect=mock_popen)
|
D | test_harness.py | 227 with mock.patch("subprocess.Popen", popen_mock) as mock.mock_popen, \
|