Skip to content

Commit

Permalink
Update test expected
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Jan 15, 2024
1 parent b1c1055 commit d863b54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def test_state_is_ready___run_is_started(self, status, task_id):

with patch('src.server.oasisapi.analyses.models.celery_app_v2.send_task', new=mock_task):
analysis.run(initiator, version='v2')
mock_task.assert_called_once_with('start_loss_generation_task', (analysis.pk, initiator.pk, 1),
mock_task.assert_called_once_with('start_loss_generation_task', (analysis.pk, initiator.pk, None),
{}, queue='celery-v2', link_error=ANY, priority=4)

@given(
Expand Down

0 comments on commit d863b54

Please sign in to comment.