def METHOD_NAME(self, execute_task, to_upload_path: Path, remote: Path):
    local_dir: Path = TestSftpDownload.create_dir(to_upload_path, 'dir')
    TestSftpDownload.create_file(to_upload_path, 'dir/file1.mkv', 100)
    TestSftpDownload.create_file(to_upload_path, 'dir/nested/file2.mkv', 100)
    execute_task('sftp_upload_dir_delete_origin')
    assert not local_dir.exists()