Lines Matching full:patch
28 @mock.patch.object(os.path,
54 @mock.patch.object(os.path, 'isfile', return_value=True)
55 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
56 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
62 with mock.patch.object(sys, 'argv', args):
73 @mock.patch.object(os,
76 @mock.patch.object(tempfile,
79 @mock.patch.object(os.environ, 'copy', side_effect=[{}, {}])
80 @mock.patch.object(os.path, 'exists', return_value=True)
81 @mock.patch.object(os.path, 'isfile', return_value=True)
82 @mock.patch.object(os.path, 'abspath', return_value='/a/b/filter')
83 @mock.patch.object(test_runner,
86 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
87 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
94 with mock.patch.object(sys, 'argv', args):
143 @mock.patch.object(os,
146 @mock.patch.object(os.path, 'exists', return_value=True)
147 @mock.patch.object(os.path, 'isfile', return_value=True)
148 @mock.patch.object(test_runner,
151 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
152 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
159 with mock.patch.object(sys, 'argv', args):
163 @mock.patch.object(os,
166 @mock.patch.object(os.path, 'exists', return_value=True)
167 @mock.patch.object(os.path, 'isfile', return_value=True)
168 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
169 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
179 with mock.patch.object(sys, 'argv', args):
184 @mock.patch.object(os,
187 @mock.patch.object(os.path, 'exists', return_value=True)
188 @mock.patch.object(os.path, 'isfile', return_value=True)
189 @mock.patch.object(test_runner, '_GetLatestVersionOfAshChrome')
190 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
191 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
203 with mock.patch.object(sys, 'argv', args):
208 @mock.patch.object(os.path, 'isfile', return_value=True)
209 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
210 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
217 with mock.patch.object(sys, 'argv', args):
223 @mock.patch.dict(os.environ, {'ASH_WRAPPER': 'gdb --args'}, clear=False)
224 @mock.patch.object(os,
227 @mock.patch.object(tempfile,
230 @mock.patch.object(os.environ, 'copy', side_effect=[{}, {}])
231 @mock.patch.object(os.path, 'exists', return_value=True)
232 @mock.patch.object(os.path, 'isfile', return_value=True)
233 @mock.patch.object(test_runner,
236 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
237 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
244 with mock.patch.object(sys, 'argv', args):
252 @mock.patch.object(os.path, 'exists', return_value=True)
253 @mock.patch.object(os.path, 'isfile', return_value=True)
254 @mock.patch.object(test_runner, '_FindLacrosMajorVersion', return_value=91)
261 with mock.patch.object(sys, 'argv', args):
264 @mock.patch.object(os.path, 'exists', return_value=True)
270 PATCH=0\
275 with mock.patch(open_lib,
280 @mock.patch.object(os.path, 'exists', return_value=True)
293 with mock.patch(open_lib,