add package-splitt script

This commit is contained in:
arcanis committed 2024-10-24 01:22:37 +03:00
1 parent 89d8227ba6
commit 3d97490c11
5 files changed
+126 -5

No files matched your search

+1 -1
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()
+1 -1
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()