Lines Matching full:mock
9 import mock
19 @mock.patch.object(TestPlan, 'TESTSUITE_FILENAME', testsuite_filename_mock)
121 mock.Mock(device='/dev/ttyUSB23',
131 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
132 mock.patch('serial.tools.list_ports.comports',
173 mock.Mock(device='/dev/ttyUSB23',
178 mock.Mock(device='/dev/ttyUSB24',
183 mock.Mock(device='/dev/ttyUSB24',
188 mock.Mock(device='/dev/ttyUSB25',
195 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
196 mock.patch('serial.tools.list_ports.comports',
254 mock.Mock(device='/dev/ttyUSB23',
262 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
263 mock.patch('serial.tools.list_ports.comports',