Searched refs:mock_popen (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/scripts/tests/twister/ |
D | test_environment.py | 520 def mock_popen(command, *args, **kwargs): function 532 mock.patch('subprocess.Popen', mock.Mock(side_effect=mock_popen)), \
|
D | test_handlers.py | 576 def mock_popen(command, *args, **kwargs,): function 599 popen_mock = mock.Mock(side_effect=mock_popen) 1327 def mock_popen(command, *args, **kwargs): function 1336 popen_mock = mock.Mock(side_effect=mock_popen) 1419 def mock_popen(command, *args, **kwargs): function 1470 mock.patch('subprocess.Popen', side_effect=mock_popen), \ 2000 def mock_popen(command, stdout=None, stdin=None, stderr=None, cwd=None): function 2036 with mock.patch('subprocess.Popen', side_effect=mock_popen), \
|
D | test_runner.py | 304 def mock_popen(*args, **kwargs): function 313 popen=mock.Mock(side_effect=mock_popen) 330 popen_mock = mock.Mock(side_effect=mock_popen) 436 def mock_popen(*args, **kwargs): function 446 popen=mock.Mock(side_effect=mock_popen) 473 popen_mock = mock.Mock(side_effect=mock_popen)
|
D | test_harness.py | 311 with mock.patch("subprocess.Popen", popen_mock) as mock.mock_popen, mock.patch(
|