def METHOD_NAME(launch_mock, launch_add_mock):
    wandb_resource_mock = MagicMock()
    context = build_op_context(
        resources={
            "wandb_config": {"entity": WANDB_ENTITY, "project": WANDB_PROJECT},
            "wandb_resource": wandb_resource_mock,
        },
    )
    run_launch_job(context)
    launch_mock.run.assert_called_with(
        api=wandb_resource_mock.__getitem__.return_value,
        config={"entity": WANDB_ENTITY, "project": WANDB_PROJECT, "synchronous": True},
    )
    assert launch_add_mock.call_count == 0
    assert launch_add_mock.return_value.wait_until_finished.call_count == 0