remove side effect from getter

This commit is contained in:
2026-02-13 21:28:48 +02:00
parent bb31919858
commit 257829d15c
6 changed files with 90 additions and 40 deletions

View File

@@ -32,7 +32,6 @@ def test_fix_symlinks(repository_paths: RepositoryPaths, package_ahriman: Packag
"""
must replace symlinks during migration
"""
mocker.patch("ahriman.models.repository_paths.RepositoryPaths.preserve_owner")
mocker.patch("ahriman.application.handlers.tree_migrate.walk", side_effect=[
[
repository_paths.archive_for(package_ahriman.base) / "file",