Lines Matching refs:json
14 import json
170 TODO(epoger): This test generates undesired results! The JSON summary
181 output_json_path = os.path.join(self._output_dir, 'actuals.json')
214 output_json_path = os.path.join(self._output_dir, 'actuals.json')
257 output_json_path = os.path.join(self._output_dir, 'actuals.json')
315 output_json_path = os.path.join(self._output_dir, 'actuals.json')
361 output_json_path = os.path.join(self._output_dir, 'actuals.json')
383 output_json_path = os.path.join(self._output_dir, 'actuals.json')
417 output_json_path = os.path.join(self._output_dir, 'actuals.json')
449 output_json_path = os.path.join(self._output_dir, 'actuals.json')
563 rel_path='expectations.json'):
564 """Creates expectations JSON file within self._expectations_dir .
596 json.dump(expectations_dict, fh)
642 """Asserts that contents of a JSON file are identical to expected_dict.
645 json_path: Path to a JSON file.
646 expected_dict: Dictionary indicating the expected contents of the JSON
650 AssertionError: contents of the JSON file are not identical to
653 prettyprinted_expected_dict = json.dumps(expected_dict, sort_keys=True,
656 prettyprinted_json_dict = json.dumps(json.load(fh), sort_keys=True,