mongo_suppor_3.py 214 B

12345678
  1. def json_from_result(result):
  2. d = {}
  3. d['test_name'] = result.entry.get_test_id()
  4. d['status'] = result.status
  5. d['out_short'] = result.out_short
  6. d['out_long'] = result.out_long
  7. return d