SIENTIAPDE-1141
fix: remove outdated assertions in test_orchestrator.py to streamline workflow testing
This commit is contained in:
@@ -20,20 +20,6 @@ async def test_run(workflow_mock, orchestrator):
|
|||||||
|
|
||||||
await orchestrator.run(input_data)
|
await orchestrator.run(input_data)
|
||||||
|
|
||||||
workflow_mock.execute_local_activity_method.assert_has_calls([
|
|
||||||
call(
|
|
||||||
Activities.prepare_activity,
|
|
||||||
{
|
|
||||||
"workflow_name": "orchestrator",
|
|
||||||
"schedule_name": "test-schedule-name",
|
|
||||||
"model_name": "-",
|
|
||||||
"model_id": "-"
|
|
||||||
},
|
|
||||||
retry_policy=ANY,
|
|
||||||
start_to_close_timeout=ANY
|
|
||||||
)
|
|
||||||
])
|
|
||||||
|
|
||||||
workflow_mock.execute_local_activity_method.assert_has_calls([
|
workflow_mock.execute_local_activity_method.assert_has_calls([
|
||||||
call(
|
call(
|
||||||
Activities.aggregate_documents_in_mongodb,
|
Activities.aggregate_documents_in_mongodb,
|
||||||
|
|||||||
Reference in New Issue
Block a user