Home
last modified time | relevance | path

Searched refs:expected_dict (Results 1 – 5 of 5) sorted by relevance

/external/autotest/server/cros/faft/utils/
Dfaft_checkers.py62 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/
Dhost_info_unittest.py363 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/
Dhwid_lib_unittest.py99 expected_dict = json.loads(returned_json)
106 expected_dict)
/external/tensorflow/tensorflow/tools/api/tests/
Dapi_compatibility_test.py184 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/
Dmetric_ops_test.py2175 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():