Lines Matching full:patch
82 with mock.patch('subprocess.Popen', popen_mock), \
83 mock.patch('os.environ', env_mock):
145 with mock.patch('os.close', close_mock), \
146 mock.patch('os.write', write_mock), \
147 mock.patch('os.set_blocking', set_blocking_mock), \
148 mock.patch('os.pipe', mock_pipe), \
149 mock.patch('selectors.DefaultSelector', selector_mock):
255 with mock.patch('fcntl.fcntl', mock_fcntl), \
256 mock.patch('os.close', mock.Mock()), \
257 mock.patch('twisterlib.jobserver.GNUMakeJobClient.__init__',
322 with mock.patch('os.read', side_effect=mock_read):
331 with mock.patch('os.close', close_mock), \
332 mock.patch('os.write', write_mock), \
333 mock.patch('os.set_blocking', set_blocking_mock), \
334 mock.patch('os.pipe', mock_pipe), \
335 mock.patch('selectors.DefaultSelector', selector_mock):
376 with mock.patch.object(GNUMakeJobClient, '__del__', mock.Mock()), \
377 mock.patch('selectors.DefaultSelector', selector_mock):
410 with mock.patch('twisterlib.jobserver.GNUMakeJobClient.__del__',
412 mock.patch('selectors.DefaultSelector', selector_mock):
446 with mock.patch.object(GNUMakeJobClient, '__del__', del_mock), \
447 mock.patch.object(GNUMakeJobClient, '__init__', mock_init), \
448 mock.patch('os.pipe', return_value=pipe), \
449 mock.patch('os.write', write_mock), \
450 mock.patch('multiprocessing.cpu_count', return_value=cpu_count), \
451 mock.patch('select.PIPE_BUF', pipe_buf), \
452 mock.patch('selectors.DefaultSelector', selector_mock):