Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/test_utils/
Dmock.py53 def _compare(cls, actual_arg, expected_arg): argument
55 return expected_arg.is_satisfied_by(actual_arg)
56 if not cls._types_match(expected_arg, actual_arg):
61 if len(actual_arg) != len(expected_arg):
63 for actual_item, expected_item in zip(actual_arg, expected_arg):
68 if not cls._compare(sorted(actual_arg.keys()),
71 for key, value in actual_arg.iteritems():
74 elif actual_arg != expected_arg:
/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py125 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0]
129 self.assertEqual(expected_arg, actual_arg)
138 actual_arg = mock_cmd_exec.RunCommand.call_args_list[1][0]
142 self.assertEqual(expected_arg, actual_arg)