Skip to content

Commit

Permalink
dont save
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk committed Aug 10, 2023
1 parent e5bf665 commit f1da379
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/workflow/test_simple_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def test_simple_workflow():

objects, trackings = _execute(world, optimization=False)

with open(os.path.join(OUTPUT_DIR, 'simple-workflow-trackings.json'), 'w') as f:
json.dump(trackings, f, indent=1, cls=MetadataJSONEncoder)
# with open(os.path.join(OUTPUT_DIR, 'simple-workflow-trackings.json'), 'w') as f:
# json.dump(trackings, f, indent=1, cls=MetadataJSONEncoder)

with open(os.path.join(OUTPUT_DIR, 'simple-workflow-trackings.json'), 'r') as f:
trackings_groundtruth = json.load(f)
Expand All @@ -79,8 +79,8 @@ def test_simple_workflow():
assert p.object_type == g['object_type'], (p.object_type, g['object_type'])
assert str(p.timestamp) == g['timestamp'], (p.timestamp, g['timestamp'])

with open(os.path.join(OUTPUT_DIR, 'simple-workflow-objects.json'), 'w') as f:
json.dump(objects, f, indent=1)
# with open(os.path.join(OUTPUT_DIR, 'simple-workflow-objects.json'), 'w') as f:
# json.dump(objects, f, indent=1)

with open(os.path.join(OUTPUT_DIR, 'simple-workflow-objects.json'), 'r') as f:
objects_groundtruth = json.load(f)
Expand Down

0 comments on commit f1da379

Please sign in to comment.