Home
last modified time | relevance | path

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

/Zephyr-latest/scripts/tests/twister/
Dtest_handlers.py225 mock_process = mock.Mock()
228 mock_process.children = mock.Mock(return_value=[mock_child1, mock_child2])
234 with mock.patch('psutil.Process', return_value=mock_process), \
249 mock_process.children = mock.Mock(
975 def test_devicehandler_run_custom_script(caplog, mock_process, raise_timeout): argument
984 __enter__=mock.Mock(return_value=mock_process),
988 mock_process.communicate = mock.Mock(side_effect=raise_timeout_fn)
1000 mock_process.assert_has_calls(
1007 elif mock_process.returncode == 0:
1423 mock_process = mock.Mock(
[all …]