Home
last modified time | relevance | path

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

/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py172 self.assertEqual(mock_popen.call_args[0][0],
224 self.assertEqual(mock_popen.call_args[0][0],
351 self.assertEqual(mock_ota_tools_object.BuildSuperImage.call_args[0][1],
358 mock_ota_tools_object.MkCombinedImg.call_args[0][1],
364 mock_popen.call_args[0][0],
424 self.assertEqual(mock_ota_tools_object.BuildSuperImage.call_args[0][1],
431 mock_ota_tools_object.MkCombinedImg.call_args[0][1],
437 mock_popen.call_args[0][0],
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py313 def __get_only_arg(self, call_args): argument
314 self.assertEqual(len(call_args[0]) + len(call_args[1]), 1)
315 if len(call_args[0]) == 1:
316 return call_args[0][0]
317 return next(iter(call_args[1].values()))
Dbounded_metrics_test.py192 def __get_only_arg(self, call_args): argument
193 self.assertEqual(len(call_args[0]) + len(call_args[1]), 1)
194 if len(call_args[0]) == 1:
195 return call_args[0][0]
196 return next(iter(call_args[1].values()))
/tools/acloud/internal/lib/
Dota_tools_test.py212 self.assertEqual(mock_popen.call_args[0][0], expected_cmd)
247 self.assertEqual(mock_popen.call_args[0][0], expected_cmd)
248 self.assertFalse(mock_popen.call_args[1]["env"])
293 self.assertEqual(mock_popen.call_args[0][0], expected_cmd)
294 self.assertEqual(mock_popen.call_args[1].get("env"), expected_env)
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/
Dbits_service_test.py55 self.assertIn('--usbpassthrough', mock_run.call_args[0][0])
56 self.assertIn('on', mock_run.call_args[0][0])
115 args, kwargs = mock_process.call_args
139 args, kwargs = mock_process.call_args
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/
Dlogcat_test.py150 self.assertEqual(log_stream.create_logger.call_args[0][0],
152 self.assertEqual(log_stream.create_logger.call_args[1]['subcontext'],
159 self.assertIn('S3R14L', process.call_args[0][0])
/tools/test/connectivity/acts/framework/tests/controllers/
Diperf_client_test.py76 mock_makedirs.call_args[ARGS][0],
95 mock_call.call_args[KWARGS]['stdout'],
Diperf_server_test.py108 mock_makedirs.call_args[ARGS][0],
/tools/test/connectivity/acts/framework/tests/
Dacts_test_decorators_test.py219 testtracker_properties = mock_writer.call_args[0][1]
233 testtracker_properties = mock_writer.call_args[0][1]
252 testtracker_properties = mock_writer.call_args[0][1]
Dacts_job_test.py118 _, kwargs = popen.call_args
/tools/test/connectivity/acts/framework/tests/event/
Dsubscription_bundle_test.py44 subscription = package.add_subscription.call_args[0][0]
96 unregistered_obj = unregister.call_args[0][0]
Devent_bus_test.py47 args, _ = register_subscription.call_args
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/sampling/engine/
Dassembly_line_test.py219 assembly_line_generator.call_args[0][0][-1].output_stream,
231 assembly_line_generator.call_args[0][0][-1].output_stream,
Dtransformer_test.py125 output_stream.add_indexed_buffer.call_args[ARGS][0].buffer)