Lines Matching full:json
34 import json
60 """Record test results in json file
69 self.result = json.load(open(self.path, 'r'))
75 logger.info('Initial state is %s', json.dumps(self.result, indent=2))
100 """Record test result into json file
120 …json.dump(OrderedDict(sorted(self.result.items(), key=lambda t: t[0])), open(self.path, 'w'), inde…
187 result_file='./result.json',
203 os.system('del history.json')
217 log = json.load(open(result_file, 'r'))
223 json.dump(log, open(result_file, 'w'), indent=2)
375 default=settings.OUTPUT_PATH + '\\result.json',