Skip to content

Commit

Permalink
Updated perf number test
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 26, 2024
1 parent 47e2cd1 commit 93a3bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/app/celery/test_process_comp_and_pen.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def test_comp_and_pen_batch_process_perf_number_happy_path(mocker, sample_templa
{'participant_id': '55', 'payment_amount': '55.56', 'vaprofile_id': '57'},
{'participant_id': '42', 'payment_amount': '42.42', 'vaprofile_id': '43627'},
]
with patch.dict('os.environ', {'COMP_AND_PEN_PERF_TO_NUMBER': '8675309'}):
with patch.dict(
'app.celery.process_comp_and_pen.current_app.config', {'COMP_AND_PEN_PERF_TO_NUMBER': '8888675309'}
):
comp_and_pen_batch_process(records)

# comp_and_pen_batch_process can fail without raising an exception, so test it called send_notification_to_queue
Expand Down

0 comments on commit 93a3bba

Please sign in to comment.