Home
last modified time | relevance | path

Searched refs:mock_popen (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/scripts/tests/twister/
Dtest_environment.py520 def mock_popen(command, *args, **kwargs): function
532 mock.patch('subprocess.Popen', mock.Mock(side_effect=mock_popen)), \
Dtest_handlers.py576 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), \
Dtest_runner.py304 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)
Dtest_harness.py311 with mock.patch("subprocess.Popen", popen_mock) as mock.mock_popen, mock.patch(