add package-splitt script

This commit is contained in:
2024-10-14 00:18:07 +03:00
parent 89d8227ba6
commit 3d97490c11
5 changed files with 126 additions and 5 deletions

View File

@ -132,7 +132,7 @@ def test_get_local_files(github: GitHub, resource_path_root: Path, mocker: Mocke
"""
must get all local files recursively
"""
walk_mock = mocker.patch("ahriman.core.utils.walk")
walk_mock = mocker.patch("ahriman.core.upload.github.walk")
github.get_local_files(resource_path_root)
walk_mock.assert_called()

View File

@ -103,7 +103,7 @@ def test_get_local_files(s3: S3, resource_path_root: Path, mocker: MockerFixture
"""
must get all local files recursively
"""
walk_mock = mocker.patch("ahriman.core.utils.walk")
walk_mock = mocker.patch("ahriman.core.upload.s3.walk")
s3.get_local_files(resource_path_root)
walk_mock.assert_called()