HomeSoftware Heritage

test_tasks: Align test consistently with other using mocker