Skip to content

Commit

Permalink
bug fixing tests/test_progress_report.py
Browse files Browse the repository at this point in the history
  • Loading branch information
okolo committed Dec 18, 2023
1 parent 5044ac4 commit a13948d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_progress_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def test_progress_reporter_enabled():
# verify that params passed to report_progress were saved to dump_file
with open(dump_file) as json_file:
saved_params = json.load(json_file)
# append extra param befor check
request_params['action'] = 'progress' # this key is added by report_progress
assert saved_params == request_params
finally:
if os.path.isfile(callback_file):
Expand Down

0 comments on commit a13948d

Please sign in to comment.