Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/scripts/tests/twister/
Dtest_environment.py530 def mock_popen(command, *args, **kwargs): function
542 mock.patch('subprocess.Popen', mock.Mock(side_effect=mock_popen)), \
Dtest_handlers.py570 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), \
Dtest_runner.py295 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)
Dtest_harness.py227 with mock.patch("subprocess.Popen", popen_mock) as mock.mock_popen, \