Skip to content

Commit

Permalink
Testing different test approach for python3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
uruwhy committed Mar 19, 2021
1 parent b3ce2ff commit df52099
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/objects/test_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def test_writing_event_logs_to_disk(self, loop, op_for_event_logs, operation_age
try:
with open(target_path, 'rb') as log_file:
recorded_log = json.load(log_file)
assert recorded_log == want
assert len(recorded_log) == 2
assert recorded_log[0] == want[0]
assert recorded_log[1] == want[1]
finally:
os.remove(target_path)

0 comments on commit df52099

Please sign in to comment.