Searched refs:expected_dict (Results 1 – 5 of 5) sorted by relevance
/external/autotest/server/cros/faft/utils/ |
D | faft_checkers.py | 62 def crossystem_checker(self, expected_dict, suppress_logging=False): argument 76 for key in expected_dict: 81 if isinstance(expected_dict[key], str): 82 if got_dict[key] != expected_dict[key]: 84 key, expected_dict[key], got_dict[key])) 88 key, expected_dict[key], got_dict[key])) 90 elif isinstance(expected_dict[key], tuple): 92 if got_dict[key] not in expected_dict[key]: 94 key, expected_dict[key], got_dict[key])) 98 key, expected_dict[key], got_dict[key])) [all …]
|
/external/autotest/server/hosts/ |
D | host_info_unittest.py | 363 expected_dict = { 368 self.assertEqual(json.load(file_obj), expected_dict) 378 expected_dict = { 383 self.assertEqual(json.load(file_obj), expected_dict)
|
/external/autotest/site_utils/ |
D | hwid_lib_unittest.py | 99 expected_dict = json.loads(returned_json) 106 expected_dict)
|
/external/tensorflow/tensorflow/tools/api/tests/ |
D | api_compatibility_test.py | 184 expected_dict, argument 206 expected_keys = set(expected_dict.keys()) 231 self.assertProtoEquals(expected_dict[key], actual_dict[key])
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops_test.py | 2175 def _testResultsEqual(self, expected_dict, gotten_result): argument 2185 list(expected_dict.keys()), list(gotten_dict.keys())) 2187 for key, expected_values in expected_dict.items(): 2375 def _testResultsEqual(self, expected_dict, gotten_result, eps=None): argument 2386 self.assertItemsEqual(list(expected_dict.keys()), list(gotten_dict.keys())) 2388 for key, expected_values in expected_dict.items():
|